Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009842, allocations: 95 kB / 17.35 MB, free: 6.367 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.001302/0.001302, allocations: 177 kB / 18.26 MB, free: 5.523 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.423/1.423, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003326, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00281/0.1553, allocations: 1.413 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1569, allocations: 0.8499 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.157, allocations: 0 / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1574, allocations: 39.89 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1576, allocations: 43.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1579, allocations: 103.7 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.158, allocations: 91.7 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1582, allocations: 8.234 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.1583, allocations: 35.8 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.1584, allocations: 35.83 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1584, allocations: 7.938 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.1585, allocations: 39.98 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1586, allocations: 15.91 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.1586, allocations: 57.45 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.1589, allocations: 111.9 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1589, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1589, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1589, allocations: 0 / 475.1 MB, free: 10.5 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.0005896/0.1595, allocations: 399.1 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1596, allocations: 12.03 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1596, allocations: 8.844 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1599, allocations: 211.9 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1599, allocations: 4.375 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.16, allocations: 4.125 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1601, allocations: 53.67 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1601, allocations: 4 kB / 475.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1602, allocations: 4 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1602, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1603, allocations: 15.98 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1607, allocations: 292.8 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1609, allocations: 58.67 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.161, allocations: 20.86 kB / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.161, allocations: 0 / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.1613, allocations: 79.33 kB / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.687e-06/0.1613, allocations: 0 / 476.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000602/0.1619, allocations: 169.2 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.162, allocations: 55.34 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1622, allocations: 190.2 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1622, allocations: 29.7 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1623, allocations: 104.1 kB / 476.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1623, allocations: 23.66 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1624, allocations: 13.7 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1625, allocations: 326.8 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.1626, allocations: 20 kB / 477.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.1627, allocations: 33.7 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1628, allocations: 69.64 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1628, allocations: 0 / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.163, allocations: 97.48 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.163, allocations: 8 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.163, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.163, allocations: 3.984 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1631, allocations: 15.94 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1632, allocations: 4 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1632, allocations: 11.97 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1632, allocations: 4.188 kB / 477.4 MB, free: 7.961 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.0001082/0.1633, allocations: 124.8 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.1634, allocations: 11.84 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.1634, allocations: 24.86 kB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1634, allocations: 0 / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1634, allocations: 0 / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.1635, allocations: 7.922 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.1639, allocations: 395.3 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1639, allocations: 0 / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.164, allocations: 8 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.164, allocations: 0 / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.164, allocations: 11.92 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.164, allocations: 4 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.164, allocations: 3.938 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1643, allocations: 200.2 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1643, allocations: 89.02 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1644, allocations: 3.938 kB / 478.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1644, allocations: 11.92 kB / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1645, allocations: 8 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1645, allocations: 4.375 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1646, allocations: 143.2 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1646, allocations: 4 kB / 478.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1649, allocations: 24 kB / 478.5 MB, free: 6.797 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.001202/0.1661, allocations: 470.3 kB / 478.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1663, allocations: 55.98 kB / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1663, allocations: 0 / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.1664, allocations: 31.92 kB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1668, allocations: 27.92 kB / 479 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.1674, allocations: 246.5 kB / 479.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1678, allocations: 0.7082 MB / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.1679, allocations: 17.19 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1679, allocations: 23.42 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1679, allocations: 0 / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004934/0.1728, allocations: 1.617 MB / 481.6 MB, free: 3.75 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches