Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 187 kB / 16.64 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001221/0.001221, allocations: 105.1 kB / 269.9 MB, free: 8.438 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.3273/0.3273, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009548/0.0009549, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1075, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00327/0.1108, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1121, allocations: 0.7845 MB / 489.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.1122, allocations: 3.938 kB / 489.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1125, allocations: 51.86 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1127, allocations: 55.81 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.113, allocations: 75.8 kB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1131, allocations: 99.67 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.1132, allocations: 16.22 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.1133, allocations: 39.8 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.1134, allocations: 39.77 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1134, allocations: 0 / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.1135, allocations: 39.98 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1136, allocations: 27.86 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.1136, allocations: 47.66 kB / 490.1 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1138, allocations: 123.9 kB / 490.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1138, allocations: 3.938 kB / 490.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1138, allocations: 3.938 kB / 490.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1138, allocations: 0 / 490.2 MB, free: 9.359 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.0005047/0.1144, allocations: 442.3 kB / 490.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1144, allocations: 12.03 kB / 490.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1144, allocations: 8.844 kB / 490.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1147, allocations: 223.7 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1147, allocations: 384 / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1147, allocations: 12.12 kB / 490.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1149, allocations: 53.67 kB / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1149, allocations: 3.984 kB / 490.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1149, allocations: 3.938 kB / 490.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1149, allocations: 0 / 490.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.115, allocations: 19.98 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1154, allocations: 296.8 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1155, allocations: 58.69 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1156, allocations: 24.78 kB / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1156, allocations: 4 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1158, allocations: 63.39 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1158, allocations: 0 / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005014/0.1163, allocations: 185 kB / 491.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1164, allocations: 55.34 kB / 491.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1166, allocations: 255.7 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1166, allocations: 29.7 kB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1167, allocations: 112.1 kB / 492 MB, free: 7.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1167, allocations: 23.66 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1168, allocations: 29.64 kB / 492.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1169, allocations: 334.8 kB / 492.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.117, allocations: 19.98 kB / 492.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.117, allocations: 37.69 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1171, allocations: 65.72 kB / 492.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1172, allocations: 0 / 492.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1173, allocations: 101.4 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1174, allocations: 12.03 kB / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1174, allocations: 0 / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1174, allocations: 0 / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.1175, allocations: 20.36 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1175, allocations: 4 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.1175, allocations: 7.938 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1175, allocations: 4 kB / 492.6 MB, free: 6.652 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 0.0001012/0.1177, allocations: 137.5 kB / 492.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1177, allocations: 11.81 kB / 492.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.1177, allocations: 25.39 kB / 492.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1177, allocations: 7.938 kB / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1177, allocations: 0 / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1178, allocations: 3.938 kB / 492.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1182, allocations: 403.3 kB / 493.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1182, allocations: 3.938 kB / 493.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.1182, allocations: 8 kB / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1183, allocations: 0 / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1183, allocations: 11.97 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1183, allocations: 0 / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1183, allocations: 0 / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.1189, allocations: 0.787 MB / 494 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1189, allocations: 92.91 kB / 494.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1189, allocations: 8 kB / 494.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.119, allocations: 4 kB / 494.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1191, allocations: 11.92 kB / 494.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1191, allocations: 4 kB / 494.2 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1192, allocations: 199 kB / 494.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1193, allocations: 0 / 494.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.1196, allocations: 31.98 kB / 494.4 MB, free: 4.773 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.0009179/0.1205, allocations: 464.1 kB / 494.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1207, allocations: 67.89 kB / 494.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1207, allocations: 0 / 494.9 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.1208, allocations: 32.05 kB / 494.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1211, allocations: 35.95 kB / 495 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.1216, allocations: 436.4 kB / 495.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1219, allocations: 0.7199 MB / 496.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.122, allocations: 16.88 kB / 496.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.122, allocations: 15.44 kB / 496.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.122, allocations: 4 kB / 496.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003841/0.1259, allocations: 1.696 MB / 497.8 MB, free: 1.289 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches