Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001313/0.001313, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.213/0.213, allocations: 44.17 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 68.11 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1478, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003838/0.1516, allocations: 1.768 MB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1536, allocations: 0.8614 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1538, allocations: 0 / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.1543, allocations: 39.83 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.1547, allocations: 43.83 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.1554, allocations: 99.81 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1556, allocations: 91.7 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1557, allocations: 4.234 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1558, allocations: 43.72 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.156, allocations: 31.84 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.156, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1561, allocations: 39.98 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.1562, allocations: 19.92 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.1563, allocations: 35.73 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1566, allocations: 92.05 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1566, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1566, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1566, allocations: 0 / 472.3 MB, free: 11.64 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.0008191/0.1575, allocations: 411 kB / 472.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1575, allocations: 12.03 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1576, allocations: 8.844 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1579, allocations: 208 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1579, allocations: 8.375 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.158, allocations: 8.125 kB / 473 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1582, allocations: 53.61 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1582, allocations: 4 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1582, allocations: 4 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1582, allocations: 0 / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.1583, allocations: 19.98 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1587, allocations: 284.9 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.159, allocations: 66.61 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.1591, allocations: 16.86 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1591, allocations: 0 / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.1593, allocations: 67.39 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1594, allocations: 4 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006823/0.16, allocations: 173.2 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1601, allocations: 51.41 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1603, allocations: 186.2 kB / 473.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1603, allocations: 29.7 kB / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.1604, allocations: 100.1 kB / 474 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.1605, allocations: 23.66 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.1606, allocations: 29.7 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1607, allocations: 330.7 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.1608, allocations: 20 kB / 474.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.1609, allocations: 41.64 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.161, allocations: 57.77 kB / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.161, allocations: 384 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002238/0.1613, allocations: 105.4 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.1614, allocations: 8 kB / 474.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1614, allocations: 3.938 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1614, allocations: 7.984 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/0.1615, allocations: 12 kB / 474.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1615, allocations: 4 kB / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.1616, allocations: 3.938 kB / 474.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1616, allocations: 4 kB / 474.7 MB, free: 9.09 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.0001211/0.1617, allocations: 133.8 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1618, allocations: 11.94 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1618, allocations: 20.7 kB / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1618, allocations: 0 / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1618, allocations: 0 / 474.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1619, allocations: 3.938 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.1624, allocations: 391.3 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1624, allocations: 0 / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.1625, allocations: 8 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1625, allocations: 4.031 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1625, allocations: 7.922 kB / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1625, allocations: 4 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1625, allocations: 0 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1628, allocations: 204.2 kB / 475.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1629, allocations: 88.95 kB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1629, allocations: 7.938 kB / 475.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.163, allocations: 4 kB / 475.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.163, allocations: 7.984 kB / 475.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1631, allocations: 4 kB / 475.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1632, allocations: 147.2 kB / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1632, allocations: 0 / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003396/0.1635, allocations: 20 kB / 475.7 MB, free: 7.934 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.001181/0.1647, allocations: 470.2 kB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.165, allocations: 59.91 kB / 476.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1651, allocations: 0 / 476.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1652, allocations: 36.12 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1656, allocations: 26.92 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.1662, allocations: 274.6 kB / 476.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.1668, allocations: 0.7083 MB / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.1668, allocations: 19.38 kB / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1668, allocations: 0 / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Templates: time 0.004753/0.1716, allocations: 1.893 MB / 479.2 MB, free: 4.586 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches