Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 174.3 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.401/1.401, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0007956/0.000796, allocations: 98.38 kB / 295.1 MB, free: 9.473 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.3561/0.3561, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 16 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 61.91 MB / 0.5127 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001801/0.3429, allocations: 1.398 MB / 0.5141 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3441, allocations: 0.889 MB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.3441, allocations: 2.625 kB / 0.515 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3444, allocations: 40.73 kB / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.3446, allocations: 48.31 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.3448, allocations: 101.3 kB / 0.5152 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.345, allocations: 97.5 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.3451, allocations: 9.516 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.3452, allocations: 37.05 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.3452, allocations: 34.5 kB / 0.5153 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3452, allocations: 7.031 kB / 0.5153 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.3453, allocations: 34.3 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.3454, allocations: 19.59 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.3454, allocations: 62.84 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3456, allocations: 105.7 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3456, allocations: 0 / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3456, allocations: 0 / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.3456, 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.0004965/0.3461, allocations: 401.4 kB / 0.5159 GB, free: 35.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3462, allocations: 13.25 kB / 0.516 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.3462, allocations: 13.81 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3464, allocations: 205 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3465, allocations: 2.156 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3465, allocations: 10.31 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3466, allocations: 50.25 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3467, allocations: 1.031 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3467, allocations: 4 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3467, allocations: 1.125 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.3468, allocations: 26.31 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3471, allocations: 287.8 kB / 0.5165 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3473, allocations: 58.73 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3473, allocations: 20.12 kB / 0.5166 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3474, allocations: 0 / 0.5166 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3475, allocations: 71.62 kB / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3476, allocations: 0 / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005057/0.3481, allocations: 177 kB / 0.5168 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.3481, allocations: 54.59 kB / 0.5169 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3483, allocations: 198.3 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3483, allocations: 28.42 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.3483, allocations: 108.7 kB / 0.5172 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.3484, allocations: 22.59 kB / 0.5172 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.3484, allocations: 4 kB / 0.5172 GB, free: 34.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3484, allocations: 325.1 kB / 0.5175 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.3485, allocations: 22.36 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.3485, allocations: 38.98 kB / 0.5176 GB, free: 33.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.3486, allocations: 61.91 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3487, allocations: 0 / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.3488, allocations: 102.4 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3488, allocations: 6.469 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3488, allocations: 0 / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3489, allocations: 4 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.349, allocations: 21.62 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.349, allocations: 0 / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.349, allocations: 6.625 kB / 0.5178 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.349, allocations: 6.688 kB / 0.5178 GB, free: 33.88 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.109e-05/0.3491, allocations: 133.3 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3491, allocations: 17.16 kB / 0.5179 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.3492, allocations: 18.48 kB / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3492, allocations: 0 / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3492, allocations: 0 / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3492, allocations: 6.531 kB / 0.518 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.3495, allocations: 393.1 kB / 0.5183 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3496, allocations: 2.719 kB / 0.5183 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.3496, allocations: 8.375 kB / 0.5184 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3496, allocations: 0 / 0.5184 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3496, allocations: 7.875 kB / 0.5184 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3496, allocations: 6.125 kB / 0.5184 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3496, allocations: 0 / 0.5184 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3498, allocations: 202.5 kB / 0.5186 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3499, allocations: 95.39 kB / 0.5187 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3499, allocations: 5.438 kB / 0.5187 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.35, allocations: 2.531 kB / 0.5187 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.35, allocations: 6.594 kB / 0.5187 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.35, allocations: 4.656 kB / 0.5187 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3502, allocations: 153.6 kB / 0.5188 GB, free: 33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3502, allocations: 0 / 0.5188 GB, free: 33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.3504, allocations: 23.59 kB / 0.5188 GB, free: 32.99 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.001013/0.3514, allocations: 0.5269 MB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3516, allocations: 52.06 kB / 0.5194 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3516, allocations: 5.562 kB / 0.5194 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.3517, allocations: 31.84 kB / 0.5194 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.352, allocations: 28.08 kB / 0.5195 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.3524, allocations: 258.1 kB / 0.5197 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3526, allocations: 0.7032 MB / 0.5204 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.993e-05/0.3526, allocations: 13.19 kB / 0.5204 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.3527, allocations: 15.09 kB / 0.5204 GB, free: 31.75 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3527, allocations: 4 kB / 0.5204 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.003793/0.3565, allocations: 1.634 MB / 0.522 GB, free: 31.54 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches