Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 121 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 83.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 62.45 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003203/0.1132, allocations: 1.912 MB / 483.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.115, allocations: 1.13 MB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.1151, allocations: 0 / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.1155, allocations: 163.5 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.116, allocations: 187.2 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1162, allocations: 115.6 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1165, allocations: 243.3 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1166, allocations: 29.67 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1168, allocations: 115.5 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1169, allocations: 131.5 kB / 485.5 MB, free: 480 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.117, allocations: 12 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1171, allocations: 59.98 kB / 485.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.1172, allocations: 55.75 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.1173, allocations: 79.44 kB / 485.7 MB, free: 272 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1175, allocations: 235.1 kB / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1175, allocations: 0 / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1175, allocations: 0 / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1176, allocations: 0 / 485.9 MB, free: 36 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006491/0.1182, allocations: 0.5332 MB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1182, allocations: 12.03 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1183, allocations: 24.66 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1187, allocations: 279.4 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1187, allocations: 8.375 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1187, allocations: 8.125 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1189, allocations: 111.3 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.119, allocations: 4 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.119, allocations: 11.94 kB / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.119, allocations: 0 / 486.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1191, allocations: 39.97 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.1196, allocations: 472.7 kB / 487.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.12, allocations: 121.2 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.1201, allocations: 41.83 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1201, allocations: 8 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.1204, allocations: 121.1 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.086e-06/0.1204, allocations: 3.984 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001203/0.1216, allocations: 492.1 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1216, allocations: 85.05 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.122, allocations: 371.3 kB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.122, allocations: 37.64 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.1221, allocations: 156.4 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1222, allocations: 63.11 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1222, allocations: 41.7 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1223, allocations: 342.8 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1225, allocations: 55.97 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1226, allocations: 91.39 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1228, allocations: 163.5 kB / 489.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1229, allocations: 0 / 489.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003526/0.1232, allocations: 229.1 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1232, allocations: 15.88 kB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1232, allocations: 4 kB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1233, allocations: 8.062 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1234, allocations: 35.98 kB / 489.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1234, allocations: 4 kB / 489.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.1235, allocations: 11.98 kB / 489.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1235, allocations: 12 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001371/0.1237, allocations: 153.8 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1237, allocations: 31.56 kB / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.1238, allocations: 38.77 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1238, allocations: 4 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1238, allocations: 7.984 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1238, allocations: 0 / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.1246, allocations: 0.7155 MB / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1247, allocations: 4.125 kB / 490.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.1247, allocations: 35.92 kB / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1248, allocations: 0 / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1248, allocations: 8 kB / 490.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1248, allocations: 7.984 kB / 490.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1248, allocations: 0 / 490.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.1252, allocations: 428.8 kB / 491.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.1253, allocations: 100.8 kB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.1253, allocations: 8 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1255, allocations: 8 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1255, allocations: 23.91 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1256, allocations: 12 kB / 491.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1258, allocations: 273.9 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1258, allocations: 4 kB / 491.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.1261, allocations: 47.98 kB / 491.7 MB, free: 9.789 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001084/0.1272, allocations: 0.5042 MB / 492.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.1276, allocations: 155.8 kB / 492.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1276, allocations: 4.125 kB / 492.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1277, allocations: 87.97 kB / 492.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.1283, allocations: 67.58 kB / 492.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.129, allocations: 0.5006 MB / 493.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1293, allocations: 0.7597 MB / 493.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.1294, allocations: 49.84 kB / 493.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.1295, allocations: 31.42 kB / 493.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1295, allocations: 0 / 493.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of Templates: time 0.006161/0.1356, allocations: 3.108 MB / 497 MB, free: 4.676 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches