Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 8.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.00103, allocations: 107.8 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3322/0.3322, allocations: 43.5 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009541/0.0009542, allocations: 55.92 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1104, allocations: 57.78 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002857/0.1133, allocations: 1.76 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1146, allocations: 0.7923 MB / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.1147, allocations: 0 / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.1149, allocations: 51.8 kB / 489.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1151, allocations: 51.83 kB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1153, allocations: 83.83 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1154, allocations: 87.7 kB / 489.8 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.1155, allocations: 24.2 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1156, allocations: 39.78 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.1157, allocations: 27.86 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1157, allocations: 4 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.1158, allocations: 47.91 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1159, allocations: 31.84 kB / 490 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1159, allocations: 35.69 kB / 490 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1161, allocations: 127.9 kB / 490.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1161, allocations: 3.938 kB / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1161, allocations: 0 / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1161, allocations: 0 / 490.2 MB, free: 9.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004772/0.1166, allocations: 434.7 kB / 490.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1166, allocations: 8.031 kB / 490.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.1167, allocations: 16.84 kB / 490.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1169, allocations: 223.7 kB / 490.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1169, allocations: 4.375 kB / 490.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1169, allocations: 8.125 kB / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.117, allocations: 57.67 kB / 490.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1171, allocations: 0 / 490.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1171, allocations: 0 / 490.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1171, allocations: 4 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.1172, allocations: 23.92 kB / 490.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1175, allocations: 300.7 kB / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1176, allocations: 62.67 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.1177, allocations: 16.86 kB / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1177, allocations: 0 / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1179, allocations: 75.31 kB / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1179, allocations: 0 / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004602/0.1184, allocations: 177.1 kB / 491.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1184, allocations: 63.28 kB / 491.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1186, allocations: 259.7 kB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1186, allocations: 25.7 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1187, allocations: 112.1 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.1187, allocations: 27.64 kB / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1188, allocations: 17.72 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1189, allocations: 338.8 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.1189, allocations: 19.98 kB / 492.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.119, allocations: 37.7 kB / 492.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1191, allocations: 57.64 kB / 492.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1191, allocations: 0 / 492.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1193, allocations: 109.5 kB / 492.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1193, allocations: 8.031 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1193, allocations: 4 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1194, allocations: 0 / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1194, allocations: 19.92 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1195, allocations: 0 / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1195, allocations: 7.938 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1195, allocations: 4 kB / 492.6 MB, free: 6.629 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: 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 (10): * Single equations (assignments): 10 * 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.435e-05/0.1196, allocations: 129.8 kB / 492.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1196, allocations: 15.81 kB / 492.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.1197, allocations: 29.39 kB / 492.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1197, allocations: 384 / 492.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1197, allocations: 0 / 492.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1197, allocations: 3.938 kB / 492.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1201, allocations: 407.2 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1201, allocations: 4 kB / 493.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1202, allocations: 8 kB / 493.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1202, allocations: 192 / 493.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1202, allocations: 15.95 kB / 493.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1202, allocations: 3.938 kB / 493.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1202, allocations: 7.938 kB / 493.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.1207, allocations: 0.787 MB / 494 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.1208, allocations: 84.92 kB / 494.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1208, allocations: 8 kB / 494.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.1209, allocations: 3.984 kB / 494.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.1209, allocations: 11.92 kB / 494.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1209, allocations: 8 kB / 494.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1211, allocations: 203 kB / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1211, allocations: 0 / 494.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.1215, allocations: 24 kB / 494.4 MB, free: 4.742 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0008751/0.1224, allocations: 464.9 kB / 494.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1225, allocations: 63.84 kB / 494.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1225, allocations: 0 / 494.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.1226, allocations: 28.11 kB / 494.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.123, allocations: 32.84 kB / 495 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.1235, allocations: 440.3 kB / 495.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1238, allocations: 0.72 MB / 496.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1238, allocations: 16.86 kB / 496.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1239, allocations: 15.44 kB / 496.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1239, allocations: 4 kB / 496.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.00372/0.1276, allocations: 1.704 MB / 497.8 MB, free: 1.262 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches