Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001376/0.001376, allocations: 192 kB / 18.56 MB, free: 4.434 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.378/1.378, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2229/0.2229, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 68.2 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00377/0.1413, allocations: 1.669 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1429, allocations: 0.8497 MB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.143, allocations: 0 / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.1434, allocations: 63.67 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1438, allocations: 51.77 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1442, allocations: 107.6 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1444, allocations: 87.7 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.1445, allocations: 8 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1446, allocations: 39.84 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.1447, allocations: 31.8 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1448, allocations: 4 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1449, allocations: 35.98 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.145, allocations: 27.91 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.1451, allocations: 35.69 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1453, allocations: 115.8 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1453, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1453, allocations: 0 / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1453, allocations: 0 / 472.4 MB, free: 11.24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005832/0.1459, allocations: 437.7 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.146, allocations: 8.031 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.146, allocations: 16.75 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1463, allocations: 211.9 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1463, allocations: 4.375 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1463, allocations: 12.11 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1465, allocations: 53.61 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1465, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1465, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1465, allocations: 4 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.1466, allocations: 19.98 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.1468, allocations: 189.7 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.147, allocations: 50.62 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.147, allocations: 24.78 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1471, allocations: 0 / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.1473, allocations: 75.33 kB / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1473, allocations: 0 / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.1476, allocations: 93.48 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1477, allocations: 55.41 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1479, allocations: 262.9 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.148, allocations: 25.7 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.148, allocations: 112.1 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1481, allocations: 15.89 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1481, allocations: 25.66 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1483, allocations: 322.8 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.1484, allocations: 15.98 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.1484, allocations: 21.72 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.1485, allocations: 49.64 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1486, allocations: 4 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.1487, allocations: 97.62 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1488, allocations: 8 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1488, allocations: 0 / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1488, allocations: 0 / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.1489, allocations: 11.98 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1489, allocations: 4 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.149, allocations: 3.938 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.149, allocations: 4 kB / 474.6 MB, free: 8.812 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 (7): * Single equations (assignments): 7 * 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.0001355/0.1491, allocations: 142.7 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1491, allocations: 15.81 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.1492, allocations: 20.98 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1492, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1492, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1492, allocations: 0 / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1494, allocations: 193.6 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1494, allocations: 0 / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.1494, allocations: 4 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1495, allocations: 4 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1495, allocations: 4 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1495, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1495, allocations: 3.984 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1497, allocations: 108.9 kB / 475 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1497, allocations: 92.91 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1498, allocations: 0 / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.1498, allocations: 11.94 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.1499, allocations: 7.984 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1499, allocations: 7.984 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1501, allocations: 196.2 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1501, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1503, allocations: 16 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009329/0.1512, allocations: 415.1 kB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1514, allocations: 43.92 kB / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1514, allocations: 4.062 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.1515, allocations: 19.98 kB / 475.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1518, allocations: 35.84 kB / 475.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1523, allocations: 262.6 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1526, allocations: 0.7119 MB / 476.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.1527, allocations: 12.8 kB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1527, allocations: 11.44 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1527, allocations: 0 / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004536/0.1573, allocations: 1.502 MB / 478.4 MB, free: 5.023 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches