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.001113/0.001113, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001085/0.001085, allocations: 194 kB / 18.12 MB, free: 5.363 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.455/1.455, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2175/0.2175, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 72.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 60.81 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004269/0.138, allocations: 1.76 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1397, allocations: 0.8615 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.1398, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.1402, allocations: 83.75 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1405, allocations: 59.81 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1408, allocations: 95.77 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.141, allocations: 103.7 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1412, allocations: 20.22 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1413, allocations: 47.72 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1414, allocations: 51.83 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1414, allocations: 4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1415, allocations: 35.98 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1416, allocations: 27.89 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.1417, allocations: 35.69 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1419, allocations: 123.8 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1419, allocations: 4 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1419, allocations: 0 / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1419, allocations: 0 / 471.8 MB, free: 11.51 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.0006806/0.1426, allocations: 415 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1427, allocations: 12.03 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.1427, allocations: 8.844 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1431, allocations: 216 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1431, allocations: 384 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1431, allocations: 8.125 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1433, allocations: 61.61 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1434, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1434, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.1434, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.1435, allocations: 23.92 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1439, allocations: 284.9 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1442, allocations: 62.61 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.1442, allocations: 24.84 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1443, allocations: 0 / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.1446, allocations: 67.39 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1446, allocations: 0 / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.1452, allocations: 189 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1453, allocations: 51.41 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1455, allocations: 211.2 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1455, allocations: 29.7 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.1456, allocations: 104.1 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1456, allocations: 27.64 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1457, allocations: 21.72 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1458, allocations: 330.8 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.1459, allocations: 19.98 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.146, allocations: 41.64 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1461, allocations: 57.7 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1461, allocations: 0 / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1463, allocations: 101.5 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1463, allocations: 4 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1463, allocations: 4.031 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1464, allocations: 192 / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.1465, allocations: 19.98 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1465, allocations: 4.094 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.1465, allocations: 11.94 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1465, allocations: 0 / 474.2 MB, free: 8.91 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.000112/0.1467, allocations: 133.8 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1467, allocations: 15.8 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.1467, allocations: 21.39 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1468, allocations: 4 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1468, allocations: 0 / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1468, allocations: 7.922 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.1472, allocations: 391.3 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1473, allocations: 4 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.1473, allocations: 8 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1473, allocations: 3.938 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1473, allocations: 3.938 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1473, allocations: 4.031 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1473, allocations: 8.359 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1476, allocations: 204.1 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1477, allocations: 85.02 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1477, allocations: 3.938 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.1478, allocations: 8 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1478, allocations: 11.98 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1478, allocations: 4 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.148, allocations: 155.2 kB / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.148, allocations: 0 / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.1483, allocations: 31.98 kB / 475.3 MB, free: 7.719 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.001128/0.1494, allocations: 459.5 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1497, allocations: 63.84 kB / 475.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1497, allocations: 3.938 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.1498, allocations: 27.98 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1502, allocations: 27.97 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.1507, allocations: 272.7 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1511, allocations: 0.7083 MB / 476.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.06e-05/0.1511, allocations: 17.17 kB / 476.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1512, allocations: 19.44 kB / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1512, allocations: 0 / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Templates: time 0.004706/0.1559, allocations: 1.657 MB / 478.5 MB, free: 4.625 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches