Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 343.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 78.28 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1093, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003071/0.1124, allocations: 1.739 MB / 481.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.1133, allocations: 0.5456 MB / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.1134, allocations: 0 / 481.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.1139, allocations: 451.1 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.1144, allocations: 287.5 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1147, allocations: 118.9 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.115, allocations: 171.6 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1151, allocations: 19.98 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1152, allocations: 111.7 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1155, allocations: 227.6 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1155, allocations: 4 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1156, allocations: 47.98 kB / 483.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1157, allocations: 91.61 kB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.1158, allocations: 103 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1161, allocations: 267 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1161, allocations: 0 / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.1162, allocations: 0 / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1162, allocations: 3.938 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006697/0.1168, allocations: 0.6438 MB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1169, allocations: 16.02 kB / 484.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.117, allocations: 44.38 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1172, allocations: 296.2 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/0.1172, allocations: 384 / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1173, allocations: 4.375 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1174, allocations: 65.8 kB / 484.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1174, allocations: 3.906 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1175, allocations: 4 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1175, allocations: 0 / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.1176, allocations: 35.92 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.118, allocations: 396.6 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1182, allocations: 42.59 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.1182, allocations: 20.94 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1182, allocations: 4 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1183, allocations: 34.56 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1183, allocations: 0 / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009386/0.1192, allocations: 311.9 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1193, allocations: 55.34 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.12, allocations: 0.8653 MB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1201, allocations: 25.7 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1202, allocations: 227.9 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1203, allocations: 23.66 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1203, allocations: 25.7 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1204, allocations: 358.8 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.1205, allocations: 27.98 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.1206, allocations: 27.97 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1208, allocations: 60.78 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1208, allocations: 3.938 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002359/0.121, allocations: 141.1 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.121, allocations: 4 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1211, allocations: 4 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1211, allocations: 4.422 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1212, allocations: 19.98 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1212, allocations: 3.938 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1213, allocations: 7.984 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1213, allocations: 0 / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001759/0.1214, allocations: 213.7 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1215, allocations: 43.44 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.1218, allocations: 165.8 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1218, allocations: 0 / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1219, allocations: 3.938 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1219, allocations: 3.984 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.1225, allocations: 0.5032 MB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1225, allocations: 3.938 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.1226, allocations: 23.92 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1226, allocations: 0 / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.1226, allocations: 0 / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1226, allocations: 4 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1226, allocations: 0 / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1229, allocations: 239.8 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.123, allocations: 112.5 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.123, allocations: 3.984 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.1231, allocations: 4 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1231, allocations: 11.98 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1232, allocations: 4 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005782/0.1237, allocations: 0.6472 MB / 489.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1237, allocations: 7.938 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.124, allocations: 28 kB / 489.4 MB, free: 11.34 MB / 366.1 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 (8): * Single equations (assignments): 8 * 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.001012/0.125, allocations: 453.5 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1253, allocations: 71.91 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1253, allocations: 0 / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.1254, allocations: 35.97 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1258, allocations: 33.62 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.127, allocations: 0.9096 MB / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1274, allocations: 0.826 MB / 491.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.1275, allocations: 16.73 kB / 491.7 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1276, allocations: 19.42 kB / 491.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1276, allocations: 3.938 kB / 491.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of Templates: time 0.005166/0.1327, allocations: 1.683 MB / 493.4 MB, free: 7.402 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches