Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.1 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 79.28 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 62.44 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002597/0.1082, allocations: 1.883 MB / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1096, allocations: 1.09 MB / 483.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1097, allocations: 0 / 483.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.1101, allocations: 299.4 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1105, allocations: 239.4 kB / 483.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1106, allocations: 87.84 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1109, allocations: 259.3 kB / 484 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.1109, allocations: 13.69 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1111, allocations: 139.5 kB / 484.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1113, allocations: 199.5 kB / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1113, allocations: 8 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.1114, allocations: 55.91 kB / 484.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1115, allocations: 135.6 kB / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1116, allocations: 150.8 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1118, allocations: 283.8 kB / 485 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1118, allocations: 0 / 485 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1118, allocations: 3.938 kB / 485 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1119, allocations: 4 kB / 485 MB, free: 0.7773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006815/0.1125, allocations: 0.7503 MB / 485.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.016e-05/0.1126, allocations: 8.031 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1126, allocations: 52.28 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1131, allocations: 451.8 kB / 486.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1131, allocations: 8.375 kB / 486.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1131, allocations: 8.125 kB / 486.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1133, allocations: 95.28 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-06/0.1133, allocations: 0 / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1133, allocations: 0 / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-06/0.1133, allocations: 0 / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.1134, allocations: 31.97 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.1137, allocations: 378.4 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1139, allocations: 109.2 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.114, allocations: 45.64 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.114, allocations: 0 / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1142, allocations: 113 kB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1142, allocations: 0 / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004063/0.1147, allocations: 201.4 kB / 487.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1147, allocations: 77.11 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.1156, allocations: 1.054 MB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1157, allocations: 29.7 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1158, allocations: 240.1 kB / 488.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1159, allocations: 27.64 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1159, allocations: 29.7 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.116, allocations: 370.8 kB / 489 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.1161, allocations: 27.98 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.1162, allocations: 63.34 kB / 489.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1164, allocations: 83.42 kB / 489.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1164, allocations: 0 / 489.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002627/0.1166, allocations: 176.8 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1167, allocations: 4 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1167, allocations: 4 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1167, allocations: 8 kB / 489.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.1168, allocations: 19.98 kB / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1168, allocations: 7.938 kB / 489.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.1169, allocations: 15.84 kB / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1169, allocations: 4 kB / 489.4 MB, free: 12.05 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001827/0.1171, allocations: 225.6 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.1172, allocations: 51.34 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.1172, allocations: 64.14 kB / 489.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1172, allocations: 4 kB / 489.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1173, allocations: 0 / 489.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1173, allocations: 0 / 489.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1175, allocations: 349.6 kB / 490.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1175, allocations: 4 kB / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1176, allocations: 4 kB / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1176, allocations: 4 kB / 490.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1176, allocations: 4 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1176, allocations: 0 / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1176, allocations: 4 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1179, allocations: 205.2 kB / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.118, allocations: 140.4 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.118, allocations: 4 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1181, allocations: 4 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.1182, allocations: 11.92 kB / 490.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1182, allocations: 8 kB / 490.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.1189, allocations: 0.7878 MB / 491.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1189, allocations: 0 / 491.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1191, allocations: 43.98 kB / 491.3 MB, free: 10.05 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008258/0.12, allocations: 413.5 kB / 491.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1202, allocations: 91.89 kB / 491.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1202, allocations: 4 kB / 491.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.1203, allocations: 40.05 kB / 491.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1207, allocations: 76.28 kB / 491.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1218, allocations: 1.017 MB / 492.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1221, allocations: 0.8426 MB / 493.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.1222, allocations: 35.42 kB / 493.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1222, allocations: 0 / 493.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of Templates: time 0.006346/0.1286, allocations: 5.148 MB / 498.9 MB, free: 2.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches