Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 174 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.491/1.491, allocations: 225.7 MB / 243.9 MB, free: 10.17 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.0008166/0.0008165, allocations: 91.83 kB / 295.1 MB, free: 9.699 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.4133/0.4133, allocations: 44.31 MB / 390.5 MB, free: 38.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004123, allocations: 11.94 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3957, allocations: 61.89 MB / 0.5127 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.001743/0.3975, allocations: 1.589 MB / 0.5143 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3986, allocations: 1.013 MB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.3986, allocations: 3.938 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.3988, allocations: 30.25 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3989, allocations: 49.94 kB / 0.5154 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3992, allocations: 119.8 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3993, allocations: 128.1 kB / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.895e-05/0.3994, allocations: 30.64 kB / 0.5156 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.3995, allocations: 46.42 kB / 0.5157 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.3995, allocations: 41.12 kB / 0.5157 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3995, allocations: 2.656 kB / 0.5157 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.3996, allocations: 46.38 kB / 0.5158 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.3996, allocations: 17.5 kB / 0.5158 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.3997, allocations: 73.23 kB / 0.5158 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3999, allocations: 130.1 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3999, allocations: 3.938 kB / 0.516 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3999, allocations: 0 / 0.516 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.525e-06/0.3999, allocations: 7 kB / 0.516 GB, free: 35.78 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004053/0.4003, allocations: 465.5 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.529e-05/0.4004, allocations: 8.031 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.4004, allocations: 17.44 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4006, allocations: 223.6 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4006, allocations: 8.031 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.4006, allocations: 13.97 kB / 0.5167 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4008, allocations: 107.6 kB / 0.5168 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4008, allocations: 0 / 0.5168 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4008, allocations: 7.281 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4009, allocations: 3 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.401, allocations: 47.45 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.4014, allocations: 0.5135 MB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.4017, allocations: 83.91 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.4018, allocations: 51.06 kB / 0.5175 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.4018, allocations: 1.094 kB / 0.5175 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.402, allocations: 84.34 kB / 0.5175 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.402, allocations: 0 / 0.5175 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000303/0.4023, allocations: 150.8 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.4023, allocations: 55.34 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4025, allocations: 198.4 kB / 0.5179 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4025, allocations: 33.64 kB / 0.518 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.4025, allocations: 111.1 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.4025, allocations: 25.55 kB / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.4026, allocations: 0 / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.4026, allocations: 331.7 kB / 0.5184 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.4027, allocations: 28.64 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.4028, allocations: 65.64 kB / 0.5185 GB, free: 33.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4029, allocations: 111.4 kB / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.403, allocations: 0 / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002165/0.4032, allocations: 141.6 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.4032, allocations: 5.188 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4032, allocations: 6.641 kB / 0.5188 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.4032, allocations: 2.562 kB / 0.5188 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.4033, allocations: 26.84 kB / 0.5188 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.4033, allocations: 3.938 kB / 0.5188 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.4034, allocations: 15.91 kB / 0.5188 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.4034, allocations: 10.2 kB / 0.5188 GB, free: 33.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.325e-05/0.4035, allocations: 133.6 kB / 0.5189 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.4035, allocations: 9.344 kB / 0.5189 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.4036, allocations: 15.45 kB / 0.519 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4036, allocations: 6.688 kB / 0.519 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4036, allocations: 0 / 0.519 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4036, allocations: 0 / 0.519 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.4038, allocations: 209.1 kB / 0.5192 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4038, allocations: 1.438 kB / 0.5192 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.4039, allocations: 21.58 kB / 0.5192 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4039, allocations: 0 / 0.5192 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.4039, allocations: 5.125 kB / 0.5192 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4039, allocations: 5.031 kB / 0.5192 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4039, allocations: 0 / 0.5192 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.4042, allocations: 192.3 kB / 0.5194 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.4043, allocations: 87.58 kB / 0.5195 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4043, allocations: 5.031 kB / 0.5195 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.4044, allocations: 16.56 kB / 0.5195 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.4044, allocations: 6.672 kB / 0.5195 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4044, allocations: 3.344 kB / 0.5195 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.16e-05/0.4045, allocations: 139.6 kB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4045, allocations: 0 / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.4047, allocations: 36.94 kB / 0.5197 GB, free: 32.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008195/0.4056, allocations: 471.7 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.4058, allocations: 84.08 kB / 0.5202 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4058, allocations: 1.188 kB / 0.5202 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.4059, allocations: 40.61 kB / 0.5202 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.4062, allocations: 32.91 kB / 0.5203 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.4066, allocations: 303.4 kB / 0.5206 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.4067, allocations: 0.7152 MB / 0.5213 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.4068, allocations: 30.52 kB / 0.5213 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4069, allocations: 16.17 kB / 0.5213 GB, free: 31.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4069, allocations: 3.094 kB / 0.5213 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.003863/0.4107, allocations: 1.749 MB / 0.523 GB, free: 31.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches