Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 177.2 kB / 17.41 MB, free: 4.41 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.385/1.385, 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.001065/0.001065, allocations: 93.95 kB / 295.1 MB, free: 9.496 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.3666/0.3666, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 61.9 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001685/0.3374, allocations: 1.404 MB / 0.5141 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3385, allocations: 0.9006 MB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.3386, allocations: 0 / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.3389, allocations: 51.89 kB / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3391, allocations: 51.12 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3393, allocations: 97.62 kB / 0.5152 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3395, allocations: 93.55 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3396, allocations: 6.172 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.3397, allocations: 44.03 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.3397, allocations: 34.03 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3398, allocations: 4 kB / 0.5154 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.3399, allocations: 31.69 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.3399, allocations: 27.47 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.34, allocations: 58.17 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3402, allocations: 117 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3402, allocations: 3.328 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.327e-05/0.3402, allocations: 0 / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3402, allocations: 0 / 0.5156 GB, free: 35.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004647/0.3407, allocations: 410.6 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3407, allocations: 15.81 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3408, allocations: 7.688 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.341, allocations: 215.5 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.341, allocations: 7.281 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.341, allocations: 8.062 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3412, allocations: 51.98 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3412, allocations: 2.938 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3412, allocations: 0 / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3412, allocations: 0 / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.3413, allocations: 30.94 kB / 0.5163 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.3416, allocations: 284.7 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3418, allocations: 55.78 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.3418, allocations: 17.67 kB / 0.5166 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3418, allocations: 7.188 kB / 0.5166 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.342, allocations: 67.73 kB / 0.5167 GB, free: 34.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.342, allocations: 0 / 0.5167 GB, free: 34.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004931/0.3425, allocations: 175.5 kB / 0.5169 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3426, allocations: 55.41 kB / 0.5169 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3427, allocations: 229.4 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.3427, allocations: 25.7 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.3428, allocations: 110 kB / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3428, allocations: 25.59 kB / 0.5173 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.3428, allocations: 5.188 kB / 0.5173 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.3429, allocations: 327.2 kB / 0.5176 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/0.343, allocations: 20.47 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.343, allocations: 39.77 kB / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3431, allocations: 60.73 kB / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3432, allocations: 0 / 0.5177 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.3433, allocations: 105.5 kB / 0.5178 GB, free: 33.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3433, allocations: 5.531 kB / 0.5178 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3434, allocations: 0.875 kB / 0.5178 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3434, allocations: 1.578 kB / 0.5178 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.3435, allocations: 15.52 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3435, allocations: 1.188 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.3435, allocations: 7.625 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3435, allocations: 7.516 kB / 0.5179 GB, free: 33.86 MB / 378.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.3436, allocations: 128.5 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.3437, allocations: 11.17 kB / 0.518 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.3437, allocations: 21.75 kB / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3437, allocations: 1.062 kB / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3437, allocations: 8.5 kB / 0.518 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3437, allocations: 9.562 kB / 0.5181 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3441, allocations: 401 kB / 0.5184 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3441, allocations: 0.9688 kB / 0.5184 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.3442, allocations: 16.09 kB / 0.5184 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3442, allocations: 1.438 kB / 0.5185 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3442, allocations: 6.297 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3442, allocations: 1.344 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3442, allocations: 1.656 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.3444, allocations: 196.5 kB / 0.5186 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.3445, allocations: 97.12 kB / 0.5187 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3445, allocations: 4.641 kB / 0.5187 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3446, allocations: 3.531 kB / 0.5187 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.3446, allocations: 9.812 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3446, allocations: 3.656 kB / 0.5188 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3447, allocations: 170.2 kB / 0.5189 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 0 / 0.5189 GB, free: 32.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.345, allocations: 26.77 kB / 0.5189 GB, free: 32.96 MB / 378.7 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.001006/0.346, allocations: 0.5225 MB / 0.5195 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.3462, allocations: 68.3 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3462, allocations: 192 / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.3462, allocations: 24.42 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.3466, allocations: 32.34 kB / 0.5196 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.347, allocations: 289.5 kB / 0.5199 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3471, allocations: 0.7051 MB / 0.5205 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.3472, allocations: 13.34 kB / 0.5206 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.3472, allocations: 22.81 kB / 0.5206 GB, free: 31.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3472, allocations: 0 / 0.5206 GB, free: 31.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003934/0.3512, allocations: 1.636 MB / 0.5222 GB, free: 31.5 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches