Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.8 kB / 17 MB, free: 6.355 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.001881/0.001881, allocations: 187 kB / 17.89 MB, free: 5.926 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.52/1.52, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.244/0.244, allocations: 44.24 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 18.75 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002235/0.1205, allocations: 1.394 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1226, allocations: 1.374 MB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.1228, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.123, allocations: 31.84 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1233, allocations: 47.83 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1236, allocations: 94.75 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1238, allocations: 83.7 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.1239, allocations: 20.2 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.124, allocations: 35.8 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1241, allocations: 39.83 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1241, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1243, allocations: 47.92 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1243, allocations: 15.97 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.1244, allocations: 37.64 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1246, allocations: 88.09 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1247, allocations: 3.938 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1247, allocations: 0 / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.1247, allocations: 0 / 474.9 MB, free: 10.35 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.0006848/0.1254, allocations: 399.1 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1254, allocations: 8.031 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1255, allocations: 11.81 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1258, allocations: 205.1 kB / 475.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1258, allocations: 3.953 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1258, allocations: 4 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.126, allocations: 67.39 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.126, allocations: 0 / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.126, allocations: 4 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.126, allocations: 0 / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.1261, allocations: 15.98 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1265, allocations: 288.8 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1267, allocations: 62.67 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.1268, allocations: 16.86 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1268, allocations: 0 / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.127, allocations: 71.33 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.127, allocations: 0 / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006003/0.1276, allocations: 169.5 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.1277, allocations: 85.11 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1279, allocations: 156.2 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.128, allocations: 29.7 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.128, allocations: 92.14 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1281, allocations: 23.7 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.1281, allocations: 4 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1283, allocations: 318.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1283, allocations: 19.98 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.1284, allocations: 42.56 kB / 477 MB, free: 8.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.1285, allocations: 28 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1285, allocations: 3.938 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.1287, allocations: 97.58 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1288, allocations: 4 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1288, allocations: 4 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1288, allocations: 7.984 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1289, allocations: 16.25 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1289, allocations: 3.938 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.129, allocations: 15.88 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.129, allocations: 7.953 kB / 477.1 MB, free: 7.871 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1291, allocations: 118.4 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1292, allocations: 11.81 kB / 477.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.1292, allocations: 12.88 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1292, allocations: 0 / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1293, allocations: 4 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1293, allocations: 7.984 kB / 477.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.1298, allocations: 387.3 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1298, allocations: 4 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1299, allocations: 8 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1299, allocations: 0 / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1299, allocations: 0 / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1299, allocations: 3.984 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1299, allocations: 7.953 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1302, allocations: 208.2 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.1303, allocations: 89.02 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1303, allocations: 7.984 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.1304, allocations: 0 / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1304, allocations: 7.953 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1305, allocations: 15.98 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1306, allocations: 111.3 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1309, allocations: 31.98 kB / 478.2 MB, free: 6.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/0.1322, allocations: 0.4908 MB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1324, allocations: 59.91 kB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1324, allocations: 0 / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.1325, allocations: 36.17 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1329, allocations: 31.98 kB / 478.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.1333, allocations: 210 kB / 479 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1336, allocations: 0.7015 MB / 479.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.1337, allocations: 12.88 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.1337, allocations: 23.42 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1337, allocations: 0 / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004785/0.1385, allocations: 1.837 MB / 481.6 MB, free: 3.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches