Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 202.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008574/0.0008578, allocations: 96.12 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.355/0.355, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 12 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3548, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001788/0.3567, allocations: 1.405 MB / 0.5227 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3581, allocations: 1.335 MB / 0.524 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3582, allocations: 0 / 0.524 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3585, allocations: 59.66 kB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.3588, allocations: 83.16 kB / 0.5242 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.359, allocations: 92.14 kB / 0.5243 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3591, allocations: 94.52 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.3592, allocations: 6.109 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.3593, allocations: 48.19 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.3594, allocations: 34.77 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3594, allocations: 3.125 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.3595, allocations: 21.62 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3596, allocations: 34.62 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.3596, allocations: 65.92 kB / 0.5246 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3598, allocations: 118.4 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3598, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3598, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.3598, allocations: 2.562 kB / 0.5247 GB, free: 35.98 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.0004581/0.3603, allocations: 417.8 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3603, allocations: 8.406 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3604, allocations: 13.25 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3606, allocations: 219.3 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3606, allocations: 3.188 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3606, allocations: 12.11 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3608, allocations: 48.28 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3608, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3608, allocations: 4 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3608, allocations: 0 / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/0.3609, allocations: 19.34 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.361, allocations: 198.3 kB / 0.5256 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3612, allocations: 46.31 kB / 0.5256 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.3612, allocations: 21.91 kB / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3613, allocations: 6.969 kB / 0.5257 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3614, allocations: 66.48 kB / 0.5257 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.505e-06/0.3615, allocations: 0 / 0.5257 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002461/0.3617, allocations: 102.5 kB / 0.5258 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.3617, allocations: 51.41 kB / 0.5259 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3619, allocations: 269.3 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.362, allocations: 29.7 kB / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.362, allocations: 115 kB / 0.5263 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.362, allocations: 10.94 kB / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.3621, allocations: 0 / 0.5263 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.3621, allocations: 328.2 kB / 0.5266 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.3622, allocations: 16.75 kB / 0.5266 GB, free: 34.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.3622, allocations: 25.75 kB / 0.5266 GB, free: 34.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.3623, allocations: 51.19 kB / 0.5267 GB, free: 34.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3623, allocations: 0 / 0.5267 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001209/0.3624, allocations: 89.88 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3625, allocations: 7.625 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3625, allocations: 0 / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3625, allocations: 0 / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.3626, allocations: 8.062 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3626, allocations: 2.594 kB / 0.5268 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.3626, allocations: 13.81 kB / 0.5268 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3626, allocations: 2.531 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.517e-05/0.3627, allocations: 135.8 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.3627, allocations: 13.81 kB / 0.5269 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.3628, allocations: 20.97 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3628, allocations: 0 / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3628, allocations: 4 kB / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3628, allocations: 0 / 0.527 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3629, allocations: 208.9 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3629, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.363, allocations: 10.66 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.363, allocations: 0 / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.363, allocations: 6.141 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.363, allocations: 0 / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.363, allocations: 0 / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.3631, allocations: 114.2 kB / 0.5273 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3632, allocations: 87.61 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3632, allocations: 2.781 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.3633, allocations: 14.66 kB / 0.5274 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3633, allocations: 0 / 0.5274 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3633, allocations: 10.16 kB / 0.5274 GB, free: 33.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.3635, allocations: 198.8 kB / 0.5276 GB, free: 33.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3635, allocations: 0 / 0.5276 GB, free: 33.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.3637, allocations: 22.94 kB / 0.5276 GB, free: 33.42 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.0009234/0.3646, allocations: 477 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.3647, allocations: 43.53 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3648, allocations: 0 / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.3648, allocations: 18.73 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3651, allocations: 33.47 kB / 0.5281 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.3655, allocations: 302.3 kB / 0.5284 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3657, allocations: 0.7145 MB / 0.5291 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.3657, allocations: 17.08 kB / 0.5291 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.3658, allocations: 16.97 kB / 0.5292 GB, free: 32.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3658, allocations: 0 / 0.5292 GB, free: 32.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003698/0.3695, allocations: 1.458 MB / 0.5306 GB, free: 32 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches