Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009539/0.0009538, allocations: 175 kB / 17.41 MB, free: 4.391 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.388/1.388, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007265/0.0007264, allocations: 92.42 kB / 295 MB, free: 9.484 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.3682/0.3682, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.327, allocations: 61.89 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001515/0.3286, allocations: 1.399 MB / 0.5141 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3296, allocations: 0.8979 MB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.3297, allocations: 0 / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3299, allocations: 32.03 kB / 0.515 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3301, allocations: 50.73 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3304, allocations: 90.53 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3305, allocations: 90.83 kB / 0.5152 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.3306, allocations: 17.06 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.3306, allocations: 39.09 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.3307, allocations: 32.11 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.3307, allocations: 2.938 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.3308, allocations: 40.02 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.3309, allocations: 12.77 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.3309, allocations: 53.73 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3311, allocations: 107.6 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3311, allocations: 0 / 0.5155 GB, free: 35.96 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.0004023/0.3315, allocations: 402.5 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.3316, allocations: 9.812 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.3316, allocations: 13.97 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3318, allocations: 205.6 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3318, allocations: 2.906 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3318, allocations: 10.88 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.332, allocations: 50.44 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.332, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.332, allocations: 4 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.332, allocations: 2.562 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.3321, allocations: 23.62 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3325, allocations: 282.3 kB / 0.5165 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3326, allocations: 53.23 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.3327, allocations: 20.88 kB / 0.5166 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3327, allocations: 4 kB / 0.5166 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.3329, allocations: 71.69 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3329, allocations: 0 / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004792/0.3334, allocations: 171.9 kB / 0.5168 GB, free: 34.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.3334, allocations: 54.22 kB / 0.5168 GB, free: 34.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3335, allocations: 169.5 kB / 0.517 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.3336, allocations: 28.67 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.3336, allocations: 102.3 kB / 0.5171 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3336, allocations: 29.75 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.3336, allocations: 2.969 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.3337, allocations: 325.2 kB / 0.5175 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.3338, allocations: 20.61 kB / 0.5175 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.3338, allocations: 35.73 kB / 0.5175 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.3339, allocations: 64.34 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3339, allocations: 0 / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.3341, allocations: 90.38 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3341, allocations: 9.078 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3341, allocations: 0 / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3341, allocations: 6.938 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.3342, allocations: 15.84 kB / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3342, allocations: 0 / 0.5177 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.3343, allocations: 21.83 kB / 0.5177 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3343, allocations: 2.969 kB / 0.5177 GB, free: 34 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 6.839e-05/0.3344, allocations: 127.3 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3344, allocations: 13.03 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.3345, allocations: 11.69 kB / 0.5179 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3345, allocations: 0 / 0.5179 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3345, allocations: 2.938 kB / 0.5179 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3345, allocations: 4.312 kB / 0.5179 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3349, allocations: 394.9 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3349, allocations: 5.375 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.335, allocations: 11.03 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.335, allocations: 5.188 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.335, allocations: 5.312 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.335, allocations: 0.9375 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.335, allocations: 1.406 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3353, allocations: 197.6 kB / 0.5185 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3353, allocations: 95.44 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3354, allocations: 5.719 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3354, allocations: 3.578 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3355, allocations: 5.688 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3355, allocations: 3.75 kB / 0.5186 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.3356, allocations: 136.2 kB / 0.5187 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 0 / 0.5187 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.3358, allocations: 25.83 kB / 0.5187 GB, free: 33.11 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.0009852/0.3368, allocations: 0.528 MB / 0.5193 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.337, allocations: 67.11 kB / 0.5193 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.337, allocations: 0 / 0.5193 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.3371, allocations: 32.81 kB / 0.5193 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3374, allocations: 23.39 kB / 0.5194 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.3379, allocations: 228.5 kB / 0.5196 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.338, allocations: 0.7004 MB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.3381, allocations: 12.73 kB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3381, allocations: 21.42 kB / 0.5203 GB, free: 31.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3381, allocations: 7.938 kB / 0.5203 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.003843/0.3419, allocations: 1.621 MB / 0.5219 GB, free: 31.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches