Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 91.72 kB / 17.35 MB, free: 6.031 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.000893/0.0008929, allocations: 174.9 kB / 18.26 MB, free: 5.387 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.499/1.499, allocations: 223.3 MB / 242.3 MB, free: 14.43 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.2241/0.2241, allocations: 44.23 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.000338, allocations: 8.812 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00227/0.1238, allocations: 1.413 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1253, allocations: 0.846 MB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.1254, allocations: 0 / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1257, allocations: 83.81 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1259, allocations: 59.8 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1262, allocations: 103.8 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1264, allocations: 103.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1265, allocations: 12.22 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1266, allocations: 43.78 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1267, allocations: 59.75 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1268, allocations: 0 / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.1269, allocations: 35.98 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1269, allocations: 23.91 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.127, allocations: 57.45 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1272, allocations: 119.9 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1272, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1272, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1272, allocations: 3.938 kB / 475.2 MB, free: 10.34 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.0004911/0.1277, allocations: 405.5 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1278, allocations: 12.03 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.1278, allocations: 12.78 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1281, allocations: 219.9 kB / 475.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1281, allocations: 4.375 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1281, allocations: 8.125 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1283, allocations: 53.67 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1283, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1283, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1283, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1284, allocations: 19.98 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1288, allocations: 296.8 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1289, allocations: 58.67 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.129, allocations: 20.86 kB / 476.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.129, allocations: 3.984 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1292, allocations: 63.33 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1292, allocations: 8 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005247/0.1297, allocations: 173.2 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1298, allocations: 55.39 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.13, allocations: 211.2 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.13, allocations: 33.64 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1301, allocations: 108 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1301, allocations: 27.64 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.1302, allocations: 21.7 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1303, allocations: 330.8 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.1304, allocations: 16 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.1304, allocations: 37.7 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1305, allocations: 57.64 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1305, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1307, allocations: 101.6 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1307, allocations: 10.8 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1308, allocations: 0 / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1308, allocations: 0 / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.1309, allocations: 19.94 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1309, allocations: 0 / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.1309, allocations: 7.938 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1309, allocations: 7.984 kB / 477.6 MB, free: 7.746 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.0001063/0.1311, allocations: 121.8 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1311, allocations: 19.84 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.1311, allocations: 17.58 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1311, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1312, allocations: 3.938 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1312, allocations: 7.938 kB / 477.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1316, allocations: 391.3 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1316, allocations: 3.984 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.1317, allocations: 12 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1317, allocations: 4.031 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1317, allocations: 3.938 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1317, allocations: 7.938 kB / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1317, allocations: 0 / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1319, allocations: 200.6 kB / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.132, allocations: 92.98 kB / 478.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.132, allocations: 3.938 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1321, allocations: 12 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1321, allocations: 11.98 kB / 478.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1322, allocations: 4 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1323, allocations: 159.2 kB / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1323, allocations: 0 / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1326, allocations: 27.98 kB / 478.6 MB, free: 6.559 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.001083/0.1337, allocations: 471.8 kB / 479.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1338, allocations: 51.97 kB / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1338, allocations: 0 / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.1339, allocations: 35.92 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1343, allocations: 28.09 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.1348, allocations: 274 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.135, allocations: 0.7082 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.1351, allocations: 8.891 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1351, allocations: 19.42 kB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1351, allocations: 0 / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.004238/0.1394, allocations: 1.636 MB / 481.9 MB, free: 3.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches