Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 92.8 kB / 17 MB, free: 6.355 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.001136/0.001136, allocations: 186.2 kB / 17.89 MB, free: 5.926 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.41/1.41, allocations: 223.2 MB / 241.9 MB, free: 348 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.1997/0.1997, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 16 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002298/0.1476, allocations: 1.39 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.149, allocations: 0.7998 MB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.1491, allocations: 3.938 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1494, allocations: 35.89 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1496, allocations: 47.83 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1499, allocations: 87.58 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1501, allocations: 91.69 kB / 474.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.1502, allocations: 12.2 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.1503, allocations: 35.8 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.1504, allocations: 35.78 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1504, allocations: 4 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1505, allocations: 27.98 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1506, allocations: 19.92 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.1507, allocations: 37.64 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1508, allocations: 88.09 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1508, allocations: 4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1509, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1509, allocations: 0 / 474.3 MB, free: 10.97 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.0005759/0.1515, allocations: 391 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1515, allocations: 8.031 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.1516, allocations: 19.84 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1518, allocations: 202.7 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1519, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1519, allocations: 4 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1521, allocations: 57.62 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1521, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1521, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.1521, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.1522, allocations: 19.98 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1526, allocations: 292.8 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1528, allocations: 62.67 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1528, allocations: 16.86 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1529, allocations: 4 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.153, allocations: 67.33 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.153, allocations: 3.938 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005607/0.1536, allocations: 177.2 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1537, allocations: 51.41 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1538, allocations: 190.2 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1539, allocations: 25.7 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.1539, allocations: 100.1 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.154, allocations: 23.66 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.154, allocations: 0 / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1541, allocations: 330.8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1542, allocations: 23.98 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.1542, allocations: 33.7 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.1543, allocations: 24 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1543, allocations: 0 / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001933/0.1545, allocations: 105.4 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1545, allocations: 8 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1546, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1546, allocations: 4.031 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.1547, allocations: 12 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1547, allocations: 4 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1547, allocations: 7.984 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1548, allocations: 4 kB / 476.5 MB, free: 8.508 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.1549, allocations: 126.3 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.1549, allocations: 11.91 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.155, allocations: 20.64 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.155, allocations: 4 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.155, allocations: 0 / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.155, allocations: 0 / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1554, allocations: 395.3 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1554, allocations: 0 / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.1555, allocations: 11.98 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1555, allocations: 0 / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1555, allocations: 0 / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1555, allocations: 8.031 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1555, allocations: 0 / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1558, allocations: 216.3 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1558, allocations: 93.38 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1559, allocations: 192 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1559, allocations: 8 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.156, allocations: 15.92 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.156, allocations: 0 / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1561, allocations: 147 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1561, allocations: 0 / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1564, allocations: 27.98 kB / 477.6 MB, free: 7.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.1575, allocations: 461.5 kB / 478.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1577, allocations: 63.91 kB / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1577, allocations: 0 / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.1577, allocations: 23.94 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1581, allocations: 35.44 kB / 478.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.1586, allocations: 230.5 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1589, allocations: 0.7082 MB / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.159, allocations: 21.17 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.159, allocations: 15.44 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.159, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.00428/0.1633, allocations: 1.587 MB / 480.7 MB, free: 4.344 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches