Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000776/0.0007761, allocations: 95.09 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009541/0.0009542, allocations: 204.4 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002437/0.0002438, allocations: 11.98 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1087, allocations: 63.57 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00206/0.1108, allocations: 1.411 MB / 485.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1124, allocations: 0.9591 MB / 486.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.1125, allocations: 0 / 486.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1128, allocations: 67.8 kB / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1131, allocations: 91.66 kB / 486.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1133, allocations: 59.88 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1135, allocations: 103.6 kB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.1135, allocations: 12.22 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.1136, allocations: 43.78 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.1137, allocations: 43.83 kB / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1137, allocations: 0 / 486.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1138, allocations: 31.98 kB / 486.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1139, allocations: 19.92 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1139, allocations: 61.38 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1141, allocations: 84.09 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1141, allocations: 0 / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1141, allocations: 0 / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1141, allocations: 0 / 486.7 MB, free: 1.164 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004413/0.1146, allocations: 393.3 kB / 487.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1146, allocations: 8.875 kB / 487.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1147, allocations: 16.75 kB / 487.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1149, allocations: 204.8 kB / 487.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1149, allocations: 384 / 487.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1149, allocations: 8.125 kB / 487.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1151, allocations: 49.61 kB / 487.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1151, allocations: 4 kB / 487.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1151, allocations: 4 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1151, allocations: 8 kB / 487.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.1152, allocations: 11.98 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.1154, allocations: 181.7 kB / 487.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1155, allocations: 46.62 kB / 487.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1156, allocations: 28.78 kB / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1156, allocations: 7.922 kB / 487.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1158, allocations: 67.39 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1158, allocations: 0 / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002531/0.1161, allocations: 93.48 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1161, allocations: 55.39 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1163, allocations: 186.9 kB / 488.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1163, allocations: 37.62 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.1164, allocations: 100.1 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.1164, allocations: 11.89 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1164, allocations: 13.72 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.1165, allocations: 322.8 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.1166, allocations: 12 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.1166, allocations: 29.7 kB / 488.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.1168, allocations: 45.7 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1168, allocations: 3.938 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001546/0.1169, allocations: 89.38 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1169, allocations: 4 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.117, allocations: 0 / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.117, allocations: 3.938 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.1171, allocations: 19.98 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1171, allocations: 0 / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1171, allocations: 8.031 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1171, allocations: 0 / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.274e-05/0.1172, allocations: 129.7 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1172, allocations: 11.91 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.1173, allocations: 13 kB / 488.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1173, allocations: 3.984 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1173, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1173, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1175, allocations: 197.4 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1175, allocations: 4.312 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.1175, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1175, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1175, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1175, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1175, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1177, allocations: 112.9 kB / 489.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1178, allocations: 89 kB / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1178, allocations: 8 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.1178, allocations: 0 / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1179, allocations: 7.984 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1179, allocations: 4 kB / 489.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.118, allocations: 152.7 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.118, allocations: 0 / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1182, allocations: 16 kB / 489.5 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009192/0.1192, allocations: 411.1 kB / 489.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.1193, allocations: 39.92 kB / 489.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1193, allocations: 0 / 489.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.1194, allocations: 23.92 kB / 490 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1197, allocations: 34.41 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1201, allocations: 250.9 kB / 490.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1203, allocations: 0.7043 MB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1203, allocations: 19.42 kB / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1203, allocations: 0 / 491 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.003162/0.1235, allocations: 1.697 MB / 492.7 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches