Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 196.3 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007973/0.0007975, allocations: 96.25 kB / 299.8 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3502/0.3502, allocations: 45 MB / 397 MB, free: 31.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 12 kB / 470.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3698, allocations: 63.1 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001894/0.3718, allocations: 1.392 MB / 0.5227 GB, free: 37.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3733, allocations: 1.326 MB / 0.524 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.3733, allocations: 4 kB / 0.524 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.3737, allocations: 56.98 kB / 0.5241 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.374, allocations: 87.84 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3742, allocations: 87.38 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3744, allocations: 101.2 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3744, allocations: 2.734 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.3745, allocations: 49.03 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3746, allocations: 34.58 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3746, allocations: 3.281 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.3747, allocations: 26 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.3748, allocations: 25.02 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.3749, allocations: 71.38 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.375, allocations: 122.7 kB / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3751, allocations: 0 / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3751, allocations: 0 / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3751, allocations: 0 / 0.5247 GB, free: 35.99 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.0004958/0.3756, allocations: 419.5 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3756, allocations: 8.688 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3757, allocations: 10.75 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3759, allocations: 218.9 kB / 0.5253 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3759, allocations: 8.359 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3759, allocations: 10.97 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3761, allocations: 48.75 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3761, allocations: 0 / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3761, allocations: 0 / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3761, allocations: 0 / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.536e-05/0.3762, allocations: 15.48 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.3764, allocations: 199.8 kB / 0.5256 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3765, allocations: 53.58 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.3766, allocations: 21.27 kB / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3766, allocations: 0 / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3768, allocations: 64.58 kB / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.3768, allocations: 0 / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002522/0.3771, allocations: 104.5 kB / 0.5258 GB, free: 34.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3771, allocations: 59.34 kB / 0.5259 GB, free: 34.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3773, allocations: 265 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.3773, allocations: 28.55 kB / 0.5261 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.3774, allocations: 112.4 kB / 0.5263 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3774, allocations: 10.78 kB / 0.5263 GB, free: 34.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.3774, allocations: 0 / 0.5263 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.3775, allocations: 331.6 kB / 0.5266 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.3776, allocations: 12.47 kB / 0.5266 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.3776, allocations: 29.66 kB / 0.5266 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.3777, allocations: 51.42 kB / 0.5267 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3777, allocations: 0 / 0.5267 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001296/0.3778, allocations: 81.67 kB / 0.5267 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3779, allocations: 12.45 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3779, allocations: 2.844 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3779, allocations: 7.969 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.378, allocations: 8.938 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.378, allocations: 0 / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.378, allocations: 13.77 kB / 0.5268 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3781, allocations: 2.781 kB / 0.5268 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 8.078e-05/0.3781, allocations: 133 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3782, allocations: 13.03 kB / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.3782, allocations: 20.34 kB / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3782, allocations: 0 / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3782, allocations: 6.688 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3782, allocations: 0 / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3784, allocations: 205 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3784, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.3784, allocations: 2.969 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3784, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.3784, allocations: 2.531 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3784, allocations: 3.938 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3784, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3786, allocations: 119.4 kB / 0.5273 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3786, allocations: 86.61 kB / 0.5274 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3787, allocations: 4 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.3787, allocations: 6.188 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3787, allocations: 10.95 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3788, allocations: 6.844 kB / 0.5274 GB, free: 33.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3789, allocations: 200 kB / 0.5276 GB, free: 33.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3789, allocations: 0 / 0.5276 GB, free: 33.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.3791, allocations: 26.22 kB / 0.5276 GB, free: 33.43 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.0009489/0.3801, allocations: 467.6 kB / 0.528 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.3802, allocations: 49.47 kB / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3802, allocations: 0 / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.3803, allocations: 17.72 kB / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3806, allocations: 30.05 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.381, allocations: 303 kB / 0.5284 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.3812, allocations: 0.7203 MB / 0.5291 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.3813, allocations: 10.05 kB / 0.5291 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3813, allocations: 18.8 kB / 0.5292 GB, free: 32.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3813, allocations: 0 / 0.5292 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003763/0.3851, allocations: 1.453 MB / 0.5306 GB, free: 32.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches