Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 104.2 kB / 16.94 MB, free: 6.184 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.00165/0.00165, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.477/1.477, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2108/0.2108, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.002563/0.002563, allocations: 67.23 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1471, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003115/0.1502, allocations: 1.698 MB / 442.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1514, allocations: 0.7922 MB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1515, allocations: 0 / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1518, allocations: 99.67 kB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1521, allocations: 79.72 kB / 443.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1524, allocations: 87.7 kB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1526, allocations: 99.75 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1527, allocations: 16.44 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.1528, allocations: 55.77 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.1529, allocations: 59.81 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1529, allocations: 4 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1531, allocations: 43.98 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1531, allocations: 19.92 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1532, allocations: 39.73 kB / 444.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1534, allocations: 119.6 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1534, allocations: 0 / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1534, allocations: 0 / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1534, allocations: 0 / 444.4 MB, free: 3.688 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.0004686/0.1539, allocations: 426.8 kB / 444.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1539, allocations: 19.89 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.154, allocations: 12.83 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1542, allocations: 212 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1542, allocations: 8.312 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1542, allocations: 4.125 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1544, allocations: 57.66 kB / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1544, allocations: 0 / 445.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1544, allocations: 3.984 kB / 445.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1544, allocations: 4 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.1545, allocations: 23.92 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.1548, allocations: 288.9 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.155, allocations: 58.67 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.155, allocations: 20.86 kB / 445.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1551, allocations: 7.938 kB / 445.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1553, allocations: 71.33 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1553, allocations: 0 / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.1558, allocations: 177.1 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1558, allocations: 55.41 kB / 445.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.156, allocations: 222.6 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.156, allocations: 29.7 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.1561, allocations: 112.1 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1561, allocations: 23.66 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1562, allocations: 21.7 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.1562, allocations: 330.8 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.1563, allocations: 19.98 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.1563, allocations: 33.7 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1565, allocations: 69.64 kB / 446.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1565, allocations: 0 / 446.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1567, allocations: 105.4 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1567, allocations: 8 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1567, allocations: 0 / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1567, allocations: 0 / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1568, allocations: 15.98 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1568, allocations: 4 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1569, allocations: 3.938 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1569, allocations: 8.031 kB / 446.8 MB, free: 1.043 MB / 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 7.92e-05/0.157, allocations: 133.8 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.157, allocations: 11.91 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1571, allocations: 13.41 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1571, allocations: 3.938 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1571, allocations: 0 / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1571, allocations: 15.86 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.1574, allocations: 395.3 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1574, allocations: 0 / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1575, allocations: 11.94 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1575, allocations: 0 / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1575, allocations: 12.31 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1575, allocations: 3.984 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1575, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1577, allocations: 200.3 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.1577, allocations: 89.11 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1578, allocations: 7.938 kB / 447.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1578, allocations: 7.938 kB / 447.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1579, allocations: 11.92 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1579, allocations: 4 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1581, allocations: 167.2 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1581, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1583, allocations: 24 kB / 447.9 MB, free: 15.84 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.001049/0.1594, allocations: 478.3 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1596, allocations: 63.91 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1596, allocations: 0 / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1597, allocations: 31.97 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1601, allocations: 27.98 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1606, allocations: 276.9 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1609, allocations: 0.708 MB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.1609, allocations: 15.44 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1609, allocations: 0 / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.004061/0.165, allocations: 1.981 MB / 451.5 MB, free: 12.31 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches