Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001108/0.001109, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.09 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.2107/0.2107, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002118, allocations: 67.64 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1319, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003369/0.1353, allocations: 1.656 MB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1368, allocations: 0.8613 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.1369, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.1372, allocations: 47.75 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1375, allocations: 63.75 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1378, allocations: 107.4 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.138, allocations: 95.69 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.1381, allocations: 8 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.889e-05/0.1382, allocations: 39.84 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.1383, allocations: 31.78 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1383, allocations: 4 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.1384, allocations: 32 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1384, allocations: 27.91 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1386, allocations: 35.75 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1388, allocations: 115.6 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1388, allocations: 3.938 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1388, allocations: 0 / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1388, allocations: 0 / 473.8 MB, free: 10.52 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.0005034/0.1393, allocations: 430.8 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1393, allocations: 8.031 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.1394, allocations: 16.75 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1397, allocations: 224.5 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1397, allocations: 384 / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1397, allocations: 8.125 kB / 474.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1399, allocations: 45.67 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1399, allocations: 0 / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1399, allocations: 4 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1399, allocations: 7.938 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.14, allocations: 19.98 kB / 474.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.1402, allocations: 185.7 kB / 474.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1404, allocations: 50.61 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1404, allocations: 24.78 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1405, allocations: 4 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1406, allocations: 71.33 kB / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1406, allocations: 0 / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.1409, allocations: 97.48 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.141, allocations: 51.41 kB / 475 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1412, allocations: 262.3 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1412, allocations: 29.64 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.1413, allocations: 116.1 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1414, allocations: 7.906 kB / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1414, allocations: 25.7 kB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1416, allocations: 322.8 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1416, allocations: 15.98 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1418, allocations: 33.64 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1419, allocations: 49.7 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1419, allocations: 3.938 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001525/0.142, allocations: 85.38 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1421, allocations: 8 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1421, allocations: 0 / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1421, allocations: 0 / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.1422, allocations: 11.98 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1422, allocations: 4 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.1422, allocations: 7.969 kB / 476 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1423, allocations: 4 kB / 476 MB, free: 8.094 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.0001328/0.1424, allocations: 137.8 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1424, allocations: 11.81 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.1425, allocations: 20.98 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1425, allocations: 3.938 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1425, allocations: 320 / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1425, allocations: 0 / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1427, allocations: 197.6 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1427, allocations: 4 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.1427, allocations: 4 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1427, allocations: 4 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1428, allocations: 4 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1428, allocations: 0 / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1428, allocations: 0 / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.143, allocations: 108.9 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.143, allocations: 92.91 kB / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.143, allocations: 8 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.1431, allocations: 7.984 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1431, allocations: 4 kB / 476.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1431, allocations: 0 / 476.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.1434, allocations: 200.2 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1437, allocations: 23.98 kB / 476.8 MB, free: 7.18 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.0009139/0.1446, allocations: 401.6 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1448, allocations: 43.98 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1448, allocations: 0 / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.1449, allocations: 23.92 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1452, allocations: 31.58 kB / 477.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.1457, allocations: 262.6 kB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.1461, allocations: 0.7158 MB / 478.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.1462, allocations: 12.55 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.1462, allocations: 15.42 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1462, allocations: 3.938 kB / 478.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.004369/0.1506, allocations: 1.498 MB / 479.8 MB, free: 4.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches