Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 175.2 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008235, allocations: 97.83 kB / 295.1 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4083/0.4083, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 12 kB / 463.2 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 61.89 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001816/0.3375, allocations: 1.59 MB / 0.5143 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3386, allocations: 1.013 MB / 0.5153 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.3387, allocations: 3.938 kB / 0.5153 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.339, allocations: 34.84 kB / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3392, allocations: 48.78 kB / 0.5154 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3394, allocations: 107.8 kB / 0.5155 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.3396, allocations: 134.3 kB / 0.5156 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.3397, allocations: 23.84 kB / 0.5156 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.3398, allocations: 54.31 kB / 0.5157 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.3399, allocations: 39.92 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3399, allocations: 2.406 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.34, allocations: 37.34 kB / 0.5157 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.34, allocations: 26.27 kB / 0.5158 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.3401, allocations: 76.34 kB / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3402, allocations: 131.7 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3403, allocations: 3.031 kB / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3403, allocations: 0 / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3403, allocations: 0 / 0.516 GB, free: 35.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004275/0.3407, allocations: 455 kB / 0.5164 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.3407, allocations: 12.72 kB / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3408, allocations: 21.02 kB / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.341, allocations: 229 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.341, allocations: 5.938 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.341, allocations: 15.02 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3412, allocations: 108.4 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3413, allocations: 0 / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3413, allocations: 6.906 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3413, allocations: 0 / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3414, allocations: 54.05 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.3419, allocations: 0.5146 MB / 0.5173 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.3422, allocations: 82.72 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.3423, allocations: 45.95 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3423, allocations: 0 / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.3425, allocations: 90.44 kB / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3425, allocations: 0 / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003325/0.3429, allocations: 147.3 kB / 0.5177 GB, free: 34.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.3429, allocations: 58.06 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.343, allocations: 193.7 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.343, allocations: 31.77 kB / 0.518 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3431, allocations: 112.6 kB / 0.5181 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3431, allocations: 28.36 kB / 0.5181 GB, free: 33.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.3431, allocations: 4 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.3432, allocations: 320.9 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.3433, allocations: 33.61 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.3434, allocations: 68.28 kB / 0.5185 GB, free: 33.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3435, allocations: 98.58 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3435, allocations: 1.438 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002373/0.3438, allocations: 146 kB / 0.5187 GB, free: 33.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3438, allocations: 5.406 kB / 0.5187 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3438, allocations: 1.344 kB / 0.5187 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3438, allocations: 2.125 kB / 0.5187 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.3439, allocations: 26.77 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.344, allocations: 10.09 kB / 0.5188 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.344, allocations: 12.77 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3441, allocations: 8.5 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.904e-05/0.3441, allocations: 135 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.3442, allocations: 10.5 kB / 0.5189 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.3442, allocations: 17.09 kB / 0.519 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3442, allocations: 5.062 kB / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3442, allocations: 0.9688 kB / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3442, allocations: 0 / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3444, allocations: 216.5 kB / 0.5192 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3444, allocations: 0 / 0.5192 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.3445, allocations: 14.19 kB / 0.5192 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3445, allocations: 5.094 kB / 0.5192 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3445, allocations: 4.125 kB / 0.5192 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3445, allocations: 4.812 kB / 0.5192 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3445, allocations: 0 / 0.5192 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.3448, allocations: 182.4 kB / 0.5194 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.3449, allocations: 94.08 kB / 0.5195 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3449, allocations: 2.125 kB / 0.5195 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.345, allocations: 12.58 kB / 0.5195 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.345, allocations: 9.328 kB / 0.5195 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.345, allocations: 7.844 kB / 0.5195 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.003e-05/0.3451, allocations: 136.5 kB / 0.5196 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3451, allocations: 4.969 kB / 0.5196 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.3453, allocations: 32.03 kB / 0.5197 GB, free: 32.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008169/0.3462, allocations: 481 kB / 0.5201 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3464, allocations: 90.7 kB / 0.5202 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3464, allocations: 0 / 0.5202 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.3465, allocations: 36.44 kB / 0.5202 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3468, allocations: 36.52 kB / 0.5203 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3472, allocations: 307.4 kB / 0.5206 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3474, allocations: 0.7085 MB / 0.5213 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.3475, allocations: 16.59 kB / 0.5213 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.3475, allocations: 20.44 kB / 0.5213 GB, free: 31.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3475, allocations: 0 / 0.5213 GB, free: 31.27 MB / 378.7 MB Notification: Performance of Templates: time 0.004047/0.3516, allocations: 1.766 MB / 0.523 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches