Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 107.5 kB / 17.03 MB, free: 6.102 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.001752/0.001752, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2448/0.2448, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.34 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 57.8 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003407/0.1572, allocations: 1.694 MB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1583, allocations: 0.8039 MB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.1584, allocations: 0 / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1588, allocations: 39.83 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.159, allocations: 59.69 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1593, allocations: 83.77 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1595, allocations: 95.69 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1596, allocations: 16.22 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.1597, allocations: 39.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.1598, allocations: 31.84 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1598, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1599, allocations: 43.92 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.16, allocations: 23.91 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1601, allocations: 31.75 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1603, allocations: 119.6 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1603, allocations: 4 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1603, allocations: 0 / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1603, allocations: 0 / 445 MB, free: 3.027 MB / 318.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.0006331/0.161, allocations: 410.9 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.161, allocations: 15.89 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1611, allocations: 8.844 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1614, allocations: 216.6 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1615, allocations: 384 / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.1615, allocations: 8.125 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1617, allocations: 61.61 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1617, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1617, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1618, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1618, allocations: 23.98 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1622, allocations: 292.8 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1624, allocations: 54.67 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.1625, allocations: 24.84 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1625, allocations: 4 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1626, allocations: 59.39 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1626, allocations: 3.938 kB / 446.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.1632, allocations: 177.2 kB / 446.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1632, allocations: 55.41 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1634, allocations: 199.3 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1634, allocations: 29.7 kB / 446.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1634, allocations: 104 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1635, allocations: 23.73 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1635, allocations: 21.72 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.1636, allocations: 326.8 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.1636, allocations: 27.98 kB / 447.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.1637, allocations: 34.08 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.1638, allocations: 61.69 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1638, allocations: 3.938 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001505/0.164, allocations: 101.5 kB / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.164, allocations: 8 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.164, allocations: 4.031 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.164, allocations: 0 / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.1641, allocations: 19.92 kB / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1641, allocations: 7.938 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1642, allocations: 3.938 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1642, allocations: 4 kB / 447.4 MB, free: 456 kB / 318.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 8.32e-05/0.1643, allocations: 133.3 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.1643, allocations: 15.81 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.1643, allocations: 17.55 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1644, allocations: 4 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1644, allocations: 4 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1644, allocations: 4.125 kB / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1648, allocations: 391.3 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1648, allocations: 7.938 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.1648, allocations: 4 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1648, allocations: 4 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1649, allocations: 7.922 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1649, allocations: 4.031 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.1649, allocations: 4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1651, allocations: 204.2 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1652, allocations: 84.92 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1652, allocations: 7.938 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1653, allocations: 7.984 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1653, allocations: 8 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1654, allocations: 4 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1655, allocations: 152.9 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1655, allocations: 0 / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1658, allocations: 27.98 kB / 448.5 MB, free: 15.27 MB / 334.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.001087/0.1669, allocations: 466.9 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1671, allocations: 51.98 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1671, allocations: 0 / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.1672, allocations: 31.92 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1675, allocations: 31.97 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.168, allocations: 231.4 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1683, allocations: 0.708 MB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.1684, allocations: 21.12 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1684, allocations: 19.42 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1684, allocations: 0 / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Templates: time 0.004487/0.1729, allocations: 1.697 MB / 451.7 MB, free: 12.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches