Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 98.39 kB / 17 MB, free: 6.418 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.001101/0.001101, allocations: 189.3 kB / 17.89 MB, free: 5.945 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.518/1.518, allocations: 223.2 MB / 241.9 MB, free: 232 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.2109/0.2109, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 11.94 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002203/0.1519, allocations: 1.351 MB / 473 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1533, allocations: 0.7842 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.1534, allocations: 3.938 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1537, allocations: 51.86 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1539, allocations: 47.83 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1541, allocations: 83.83 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1543, allocations: 79.7 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1544, allocations: 7.984 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.1545, allocations: 47.78 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.1545, allocations: 31.78 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1546, allocations: 4 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.1546, allocations: 20 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.1547, allocations: 19.91 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1548, allocations: 37.64 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1549, allocations: 80.05 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1549, allocations: 0 / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1549, allocations: 0 / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1549, allocations: 0 / 474.2 MB, free: 11.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000495/0.1554, allocations: 383 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1555, allocations: 12.03 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1555, allocations: 7.906 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1557, allocations: 194.9 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1558, allocations: 7.984 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1558, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1559, allocations: 53.62 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1559, allocations: 3.938 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.156, allocations: 11.98 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.156, allocations: 3.938 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.156, allocations: 8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.1562, allocations: 177.7 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1564, allocations: 54.61 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1564, allocations: 16.86 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1565, allocations: 4 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1567, allocations: 71.27 kB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1567, allocations: 0 / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002629/0.1569, allocations: 89.58 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.157, allocations: 55.41 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1571, allocations: 168.5 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1572, allocations: 33.7 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1572, allocations: 96.12 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1573, allocations: 19.75 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.1573, allocations: 0 / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1574, allocations: 322.8 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.1574, allocations: 19.92 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1575, allocations: 25.72 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.1576, allocations: 23.98 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1576, allocations: 0 / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.1577, allocations: 77.78 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1578, allocations: 14.3 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1578, allocations: 64 / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1578, allocations: 4 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.1579, allocations: 11.94 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1579, allocations: 7.984 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1579, allocations: 7.906 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1579, allocations: 8.031 kB / 476.2 MB, free: 8.855 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 (7): * Single equations (assignments): 7 * 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.0001131/0.1581, allocations: 121.5 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1581, allocations: 7.906 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1581, allocations: 20.25 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1581, allocations: 0 / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1581, allocations: 0 / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1582, allocations: 0 / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1583, allocations: 177.6 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1583, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.1583, allocations: 11.94 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.1583, allocations: 7.984 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1584, allocations: 3.938 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1584, allocations: 3.953 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1584, allocations: 0 / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1585, allocations: 101 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.1586, allocations: 89.02 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1586, allocations: 0 / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.1587, allocations: 11.98 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1587, allocations: 3.953 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1587, allocations: 4 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1588, allocations: 138.8 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1588, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.1591, allocations: 15.98 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009391/0.16, allocations: 416.6 kB / 477.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1602, allocations: 43.92 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1602, allocations: 0 / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.1602, allocations: 19.98 kB / 477.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1605, allocations: 27.92 kB / 477.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.1609, allocations: 197 kB / 477.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1612, allocations: 0.6965 MB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.271e-05/0.1612, allocations: 20.39 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.1613, allocations: 15.44 kB / 478.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1613, allocations: 0 / 478.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of Templates: time 0.003962/0.1652, allocations: 1.379 MB / 479.7 MB, free: 5.367 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches