Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 177.4 kB / 17.41 MB, free: 4.289 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.427/1.427, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008171/0.0008171, allocations: 95.64 kB / 295 MB, free: 9.5 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.3215/0.3215, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 12 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3128, allocations: 61.91 MB / 0.5128 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001854/0.3147, allocations: 1.359 MB / 0.5141 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3159, allocations: 0.8682 MB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3159, allocations: 0 / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3163, allocations: 57.66 kB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.3166, allocations: 66.75 kB / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3168, allocations: 92.83 kB / 0.5151 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.317, allocations: 95.81 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.317, allocations: 2.938 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.3171, allocations: 42.81 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.3172, allocations: 42.45 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3172, allocations: 6.906 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.3173, allocations: 25.5 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.3173, allocations: 24.55 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.3174, allocations: 52.8 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3176, allocations: 93.47 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3176, allocations: 0.9062 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3176, allocations: 0 / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.3176, allocations: 0 / 0.5155 GB, free: 35.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004442/0.3181, allocations: 390.5 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3181, allocations: 9.859 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3182, allocations: 13.59 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.3184, allocations: 203.9 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3184, allocations: 7.062 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3184, allocations: 7.641 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3185, allocations: 49.39 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3186, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3186, allocations: 0.6562 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3186, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.3187, allocations: 15.47 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.3188, allocations: 184.2 kB / 0.5163 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.319, allocations: 57.45 kB / 0.5164 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.319, allocations: 25.09 kB / 0.5164 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3191, allocations: 0 / 0.5164 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3193, allocations: 61.45 kB / 0.5165 GB, free: 34.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3193, allocations: 6.969 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002557/0.3195, allocations: 95.62 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.3196, allocations: 59.34 kB / 0.5166 GB, free: 34.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3197, allocations: 180 kB / 0.5168 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3197, allocations: 25.7 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3198, allocations: 102.1 kB / 0.5169 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3198, allocations: 13.7 kB / 0.5169 GB, free: 34.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-06/0.3198, allocations: 2.812 kB / 0.5169 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.3199, allocations: 328.8 kB / 0.5173 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.3199, allocations: 13.55 kB / 0.5173 GB, free: 34.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.32, allocations: 31.36 kB / 0.5173 GB, free: 34.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.3201, allocations: 46.62 kB / 0.5173 GB, free: 34.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3201, allocations: 0 / 0.5173 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.3202, allocations: 84.39 kB / 0.5174 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3203, allocations: 9.906 kB / 0.5174 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3203, allocations: 0 / 0.5174 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3203, allocations: 11.06 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.3204, allocations: 11.33 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3204, allocations: 0 / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.3204, allocations: 2.656 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3204, allocations: 2.562 kB / 0.5175 GB, free: 34.1 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 (7): * Single equations (assignments): 7 * 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.364e-05/0.3205, allocations: 130 kB / 0.5176 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3205, allocations: 9.406 kB / 0.5176 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.3206, allocations: 15.34 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3206, allocations: 2.656 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3206, allocations: 320 / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3206, allocations: 3.188 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.3207, allocations: 179.6 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3207, allocations: 7.188 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.3207, allocations: 2.688 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3207, allocations: 0 / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3208, allocations: 6.875 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3208, allocations: 0 / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3208, allocations: 7.938 kB / 0.5178 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.3209, allocations: 109.1 kB / 0.5179 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.321, allocations: 91.45 kB / 0.518 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.321, allocations: 0 / 0.518 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.321, allocations: 2.938 kB / 0.518 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3211, allocations: 10.11 kB / 0.518 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3211, allocations: 0 / 0.518 GB, free: 33.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.3212, allocations: 147.5 kB / 0.5182 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3212, allocations: 0 / 0.5182 GB, free: 33.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.3214, allocations: 17.84 kB / 0.5182 GB, free: 33.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008495/0.3222, allocations: 466.8 kB / 0.5186 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3224, allocations: 44.11 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3224, allocations: 0 / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.3224, allocations: 18.09 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3227, allocations: 31.7 kB / 0.5187 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.3231, allocations: 218.3 kB / 0.5189 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3233, allocations: 0.7075 MB / 0.5196 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.3233, allocations: 15.25 kB / 0.5196 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3233, allocations: 13.53 kB / 0.5196 GB, free: 32.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3234, allocations: 0 / 0.5196 GB, free: 32.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003777/0.3271, allocations: 1.394 MB / 0.521 GB, free: 32.11 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches