Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1994/0.1994, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.61 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003301/0.1195, allocations: 1.688 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1211, allocations: 0.8847 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.1212, allocations: 4 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1215, allocations: 39.77 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1218, allocations: 51.77 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1221, allocations: 107.6 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1222, allocations: 95.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1224, allocations: 12.22 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.1225, allocations: 47.77 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.1225, allocations: 31.8 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1226, allocations: 4 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1227, allocations: 43.97 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1227, allocations: 15.92 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.1228, allocations: 27.81 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.123, allocations: 115.9 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.123, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.123, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.123, allocations: 0 / 473.1 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005609/0.1236, allocations: 407 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1236, allocations: 11.97 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1237, allocations: 12.83 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1239, allocations: 209.7 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.124, allocations: 384 / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.124, allocations: 8.125 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1242, allocations: 53.67 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1242, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1242, allocations: 3.984 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1242, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1243, allocations: 23.98 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1247, allocations: 284.8 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1248, allocations: 58.67 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.1249, allocations: 20.84 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1249, allocations: 4 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1251, allocations: 71.33 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1252, allocations: 0 / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.1257, allocations: 169.2 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1258, allocations: 51.41 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1259, allocations: 173.9 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.126, allocations: 29.7 kB / 474.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.126, allocations: 100.1 kB / 474.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1261, allocations: 23.66 kB / 474.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.1261, allocations: 29.7 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1262, allocations: 326.8 kB / 475.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1263, allocations: 16 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1264, allocations: 41.69 kB / 475.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1265, allocations: 61.64 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1265, allocations: 0 / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1267, allocations: 101.6 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1267, allocations: 11.98 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1267, allocations: 3.938 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1267, allocations: 0 / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.1268, allocations: 19.94 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1269, allocations: 384 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1269, allocations: 7.969 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1269, allocations: 7.984 kB / 475.4 MB, free: 8.656 MB / 350.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 (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.0001145/0.127, allocations: 121.8 kB / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1271, allocations: 11.91 kB / 475.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1271, allocations: 16.89 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1271, allocations: 4 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1271, allocations: 3.938 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1272, allocations: 3.938 kB / 475.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1276, allocations: 391.3 kB / 475.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1276, allocations: 0 / 475.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.1277, allocations: 8 kB / 475.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1277, allocations: 0 / 475.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1277, allocations: 11.92 kB / 476 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1277, allocations: 7.922 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1277, allocations: 0 / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1279, allocations: 204.2 kB / 476.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.128, allocations: 85.02 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.128, allocations: 3.938 kB / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1281, allocations: 4 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1281, allocations: 11.98 kB / 476.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1282, allocations: 4 kB / 476.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1283, allocations: 131.1 kB / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1283, allocations: 0 / 476.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1285, allocations: 31.98 kB / 476.4 MB, free: 7.512 MB / 350.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: 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.001111/0.1297, allocations: 462.2 kB / 476.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1299, allocations: 67.89 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1299, allocations: 0 / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.13, allocations: 28 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1303, allocations: 35.19 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.1308, allocations: 252.5 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1312, allocations: 0.7002 MB / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.1312, allocations: 19.42 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1312, allocations: 0 / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.003709/0.1349, allocations: 1.861 MB / 479.8 MB, free: 4.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches