Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 178.1 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.42/1.42, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008165/0.0008166, allocations: 97.48 kB / 295.1 MB, free: 9.48 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.4186/0.4186, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003638, allocations: 15.94 kB / 463.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4157, allocations: 61.91 MB / 0.5128 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001996/0.4178, allocations: 1.416 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.4191, allocations: 0.8936 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.4192, allocations: 3.938 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003831/0.4196, allocations: 103 kB / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.4198, allocations: 76.84 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.4201, allocations: 107.4 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.4203, allocations: 115.6 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4204, allocations: 17.28 kB / 0.5154 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.4205, allocations: 54.2 kB / 0.5155 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.4206, allocations: 65 kB / 0.5155 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4206, allocations: 3.938 kB / 0.5155 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.4207, allocations: 53.36 kB / 0.5156 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.4208, allocations: 19.39 kB / 0.5156 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.4209, allocations: 70.41 kB / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.4212, allocations: 139.3 kB / 0.5158 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4212, allocations: 0 / 0.5158 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4212, allocations: 5.062 kB / 0.5158 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4212, allocations: 0 / 0.5158 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005271/0.4217, allocations: 427.8 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4218, allocations: 8.594 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4218, allocations: 16.92 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.4221, allocations: 223.6 kB / 0.5165 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.4221, allocations: 7.359 kB / 0.5165 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.4221, allocations: 6.406 kB / 0.5165 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4223, allocations: 71.05 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4223, allocations: 1.219 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4224, allocations: 0 / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4224, allocations: 1 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.4225, allocations: 35.53 kB / 0.5166 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.4229, allocations: 316.4 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4232, allocations: 80.61 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.4233, allocations: 25.14 kB / 0.517 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.4233, allocations: 3.094 kB / 0.517 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4235, allocations: 71.64 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.495e-06/0.4236, allocations: 3.984 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007521/0.4243, allocations: 277.5 kB / 0.5173 GB, free: 34.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.4244, allocations: 55.34 kB / 0.5174 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4246, allocations: 243.4 kB / 0.5176 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4246, allocations: 32.67 kB / 0.5176 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.4246, allocations: 113.3 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4247, allocations: 40.67 kB / 0.5178 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4247, allocations: 4 kB / 0.5178 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.4248, allocations: 327.5 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.4249, allocations: 39.05 kB / 0.5181 GB, free: 33.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.4249, allocations: 53.7 kB / 0.5182 GB, free: 33.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4251, allocations: 88.17 kB / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4251, allocations: 0 / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002217/0.4253, allocations: 138.9 kB / 0.5184 GB, free: 33.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4254, allocations: 5.094 kB / 0.5184 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4254, allocations: 5.625 kB / 0.5184 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4254, allocations: 1.062 kB / 0.5184 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.4255, allocations: 26.05 kB / 0.5184 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4255, allocations: 5.094 kB / 0.5184 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.4256, allocations: 5.375 kB / 0.5184 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4256, allocations: 4.109 kB / 0.5184 GB, free: 33.77 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 (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 9.525e-05/0.4257, allocations: 137.2 kB / 0.5186 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4257, allocations: 18.25 kB / 0.5186 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.4258, allocations: 21.77 kB / 0.5186 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4258, allocations: 5.094 kB / 0.5186 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4258, allocations: 5.125 kB / 0.5186 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4258, allocations: 0 / 0.5186 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.4263, allocations: 472 kB / 0.5191 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4263, allocations: 1.031 kB / 0.5191 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.4264, allocations: 24.08 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4264, allocations: 4.062 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4264, allocations: 4.219 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4264, allocations: 1.484 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4264, allocations: 1.281 kB / 0.5191 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.4267, allocations: 248 kB / 0.5193 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.4267, allocations: 88.25 kB / 0.5194 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.4268, allocations: 11.7 kB / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.4269, allocations: 3.062 kB / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.4269, allocations: 8.547 kB / 0.5195 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.4269, allocations: 9.875 kB / 0.5195 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4271, allocations: 187 kB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4271, allocations: 2.938 kB / 0.5196 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.4274, allocations: 30.16 kB / 0.5197 GB, free: 32.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001177/0.4285, allocations: 0.6034 MB / 0.5203 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.4288, allocations: 86.17 kB / 0.5203 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4288, allocations: 0 / 0.5203 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.429, allocations: 46.73 kB / 0.5204 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4294, allocations: 34.44 kB / 0.5204 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.4299, allocations: 346.4 kB / 0.5207 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.4301, allocations: 0.7209 MB / 0.5215 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.4302, allocations: 20.8 kB / 0.5215 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.4302, allocations: 26.23 kB / 0.5215 GB, free: 31.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4302, allocations: 3.938 kB / 0.5215 GB, free: 31.44 MB / 378.7 MB Notification: Performance of Templates: time 0.00456/0.4348, allocations: 1.964 MB / 0.5234 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches