Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 177.9 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.339/1.339, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0009815/0.0009814, allocations: 92.83 kB / 295 MB, free: 9.512 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.4235/0.4235, allocations: 44.31 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 12 kB / 463.2 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3221, allocations: 61.9 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001969/0.3241, allocations: 1.398 MB / 0.5141 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3259, allocations: 1.554 MB / 0.5156 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.326, allocations: 4 kB / 0.5156 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3263, allocations: 30.25 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.3265, allocations: 49.64 kB / 0.5157 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3268, allocations: 97.02 kB / 0.5158 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3269, allocations: 95.8 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.327, allocations: 5.922 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.3271, allocations: 39.91 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3273, allocations: 40.41 kB / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3273, allocations: 0 / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3274, allocations: 50.55 kB / 0.516 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.3275, allocations: 18.05 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.3275, allocations: 54.23 kB / 0.5161 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3277, allocations: 117.6 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3277, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3278, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3278, allocations: 3.156 kB / 0.5162 GB, free: 35.46 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.0005311/0.3283, allocations: 392.6 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3284, allocations: 8.688 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3284, allocations: 10.34 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.3286, allocations: 211.7 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3286, allocations: 384 / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3287, allocations: 7 kB / 0.5168 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3289, allocations: 73.03 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3289, allocations: 3.938 kB / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3289, allocations: 0 / 0.5169 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3289, allocations: 4 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.329, allocations: 22.86 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.3294, allocations: 281.3 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3296, allocations: 57.62 kB / 0.5172 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3296, allocations: 21.67 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.3297, allocations: 6.312 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.3299, allocations: 61.98 kB / 0.5173 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3299, allocations: 0 / 0.5173 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005957/0.3305, allocations: 169.4 kB / 0.5175 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3306, allocations: 84.78 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3307, allocations: 155.1 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3308, allocations: 28.27 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.3308, allocations: 97.62 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.3308, allocations: 20.22 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.3308, allocations: 5.188 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.3309, allocations: 324.5 kB / 0.5182 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.331, allocations: 17.17 kB / 0.5182 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.3311, allocations: 52.58 kB / 0.5182 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3312, allocations: 61.98 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3312, allocations: 0 / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3314, allocations: 104.6 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3315, allocations: 4.781 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3315, allocations: 0.9688 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3315, allocations: 1.219 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3316, allocations: 16.17 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3316, allocations: 4.031 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.3317, allocations: 8.969 kB / 0.5184 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3317, allocations: 3.25 kB / 0.5184 GB, free: 33.45 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 9.656e-05/0.3318, allocations: 126.3 kB / 0.5185 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.3318, allocations: 8.484 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.3319, allocations: 17.48 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3319, allocations: 1.219 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3319, allocations: 1.984 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3319, allocations: 3.938 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3324, allocations: 388.1 kB / 0.5189 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3324, allocations: 1.062 kB / 0.5189 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.3324, allocations: 16.56 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3324, allocations: 1.062 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3325, allocations: 6.5 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3325, allocations: 1.719 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3325, allocations: 1.062 kB / 0.519 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3327, allocations: 207.8 kB / 0.5192 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3328, allocations: 87.09 kB / 0.5193 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3328, allocations: 5.984 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.3329, allocations: 6.859 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.3329, allocations: 10.5 kB / 0.5193 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.333, allocations: 7.953 kB / 0.5193 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.3331, allocations: 120 kB / 0.5194 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3331, allocations: 0 / 0.5194 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.3334, allocations: 31.52 kB / 0.5194 GB, free: 32.55 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.001179/0.3346, allocations: 0.5828 MB / 0.52 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3347, allocations: 56.34 kB / 0.5201 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3348, allocations: 0 / 0.5201 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.3348, allocations: 35 kB / 0.5201 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3352, allocations: 27.73 kB / 0.5201 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3358, allocations: 208.9 kB / 0.5203 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.336, allocations: 0.6992 MB / 0.521 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.3361, allocations: 22.34 kB / 0.521 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3362, allocations: 19.44 kB / 0.521 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3362, allocations: 0 / 0.521 GB, free: 31.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005038/0.3412, allocations: 1.871 MB / 0.5229 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches