Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009429/0.0009427, allocations: 104.9 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3527/0.3527, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3169, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003231/0.3201, allocations: 2.147 MB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3219, allocations: 1.333 MB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.322, allocations: 0 / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3223, allocations: 43.41 kB / 0.5186 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3227, allocations: 193.5 kB / 0.5188 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.3237, allocations: 0.5651 MB / 0.5193 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.324, allocations: 331.3 kB / 0.5196 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3242, allocations: 72.2 kB / 0.5197 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.3244, allocations: 134.6 kB / 0.5198 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3247, allocations: 199.8 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.3247, allocations: 11.56 kB / 0.52 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.3249, allocations: 62.48 kB / 0.5201 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.325, allocations: 147.2 kB / 0.5202 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3251, allocations: 165.9 kB / 0.5204 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3255, allocations: 402.3 kB / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3255, allocations: 3.281 kB / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3255, allocations: 6.969 kB / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3255, allocations: 0 / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009026/0.3264, allocations: 0.7928 MB / 0.5216 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3265, allocations: 12.47 kB / 0.5216 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.3268, allocations: 93.69 kB / 0.5217 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3273, allocations: 472 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.3273, allocations: 7.094 kB / 0.5221 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.3274, allocations: 20.03 kB / 0.5222 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.3277, allocations: 165.3 kB / 0.5223 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3277, allocations: 0 / 0.5223 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3277, allocations: 7.938 kB / 0.5223 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3277, allocations: 2.625 kB / 0.5223 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.328, allocations: 118.5 kB / 0.5224 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.3288, allocations: 0.7125 MB / 0.5231 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3291, allocations: 131.5 kB / 0.5233 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3292, allocations: 67.72 kB / 0.5233 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.3293, allocations: 2.531 kB / 0.5233 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3293, allocations: 36.84 kB / 0.5234 GB, free: 32.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3293, allocations: 0 / 0.5234 GB, free: 32.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001793/0.3311, allocations: 0.7466 MB / 0.5241 GB, free: 32.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3311, allocations: 87.08 kB / 0.5242 GB, free: 32.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.3319, allocations: 0.8895 MB / 0.525 GB, free: 31.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3319, allocations: 35.7 kB / 0.5251 GB, free: 31.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3321, allocations: 261 kB / 0.5253 GB, free: 31.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3321, allocations: 66.28 kB / 0.5254 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.3322, allocations: 41.66 kB / 0.5254 GB, free: 31.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.3323, allocations: 373.2 kB / 0.5258 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3325, allocations: 109.7 kB / 0.5259 GB, free: 31.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3328, allocations: 134.1 kB / 0.526 GB, free: 31.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.3333, allocations: 255.9 kB / 0.5263 GB, free: 31.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3333, allocations: 8 kB / 0.5263 GB, free: 31.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006198/0.3339, allocations: 330.6 kB / 0.5266 GB, free: 30.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3339, allocations: 5.906 kB / 0.5266 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.334, allocations: 3.984 kB / 0.5266 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.334, allocations: 2.938 kB / 0.5266 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3342, allocations: 63.67 kB / 0.5266 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3342, allocations: 0 / 0.5266 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3344, allocations: 18.22 kB / 0.5267 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3344, allocations: 13.28 kB / 0.5267 GB, free: 30.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.3346, allocations: 219.9 kB / 0.5269 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.3347, allocations: 56.59 kB / 0.5269 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.3354, allocations: 395.2 kB / 0.5273 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3354, allocations: 2.875 kB / 0.5273 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3355, allocations: 2.938 kB / 0.5273 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3355, allocations: 7.75 kB / 0.5273 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3367, allocations: 0.953 MB / 0.5283 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3367, allocations: 4 kB / 0.5283 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3369, allocations: 51.95 kB / 0.5283 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3369, allocations: 0 / 0.5283 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.337, allocations: 10.52 kB / 0.5283 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.337, allocations: 6.562 kB / 0.5283 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.337, allocations: 0 / 0.5283 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3381, allocations: 1.334 MB / 0.5296 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3383, allocations: 135.9 kB / 0.5298 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.3383, allocations: 10.91 kB / 0.5298 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3385, allocations: 15.75 kB / 0.5298 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.3386, allocations: 19.47 kB / 0.5298 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3386, allocations: 9.109 kB / 0.5298 GB, free: 28.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005475/0.3392, allocations: 0.6528 MB / 0.5305 GB, free: 28.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3392, allocations: 0 / 0.5305 GB, free: 28.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.3396, allocations: 66.56 kB / 0.5305 GB, free: 28.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008191/0.3405, allocations: 396 kB / 0.5309 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.3411, allocations: 262.3 kB / 0.5311 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3411, allocations: 4 kB / 0.5312 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.3414, allocations: 145.6 kB / 0.5313 GB, free: 28.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.342, allocations: 78.86 kB / 0.5314 GB, free: 28.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3434, allocations: 1.324 MB / 0.5327 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3437, allocations: 0.8913 MB / 0.5335 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000217/0.3439, allocations: 103.9 kB / 0.5336 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.344, allocations: 41.12 kB / 0.5337 GB, free: 26.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.344, allocations: 0 / 0.5337 GB, free: 26.82 MB / 378.7 MB Notification: Performance of Templates: time 0.009582/0.3536, allocations: 4.321 MB / 0.5379 GB, free: 26.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches