Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007411/0.0007413, allocations: 103.1 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3257/0.3257, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002592, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3712, allocations: 63.1 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001791/0.3731, allocations: 1.397 MB / 0.5227 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3745, allocations: 1.328 MB / 0.524 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.3745, allocations: 0 / 0.524 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.3748, allocations: 83.59 kB / 0.5241 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3751, allocations: 97.61 kB / 0.5242 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.3753, allocations: 87.52 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3754, allocations: 117.3 kB / 0.5244 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.3755, allocations: 7.125 kB / 0.5244 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.3756, allocations: 46.64 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.3757, allocations: 51.88 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3757, allocations: 2.656 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.3758, allocations: 29.47 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.3758, allocations: 24.38 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.3759, allocations: 61.72 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.376, allocations: 106.2 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.376, allocations: 4 kB / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3761, allocations: 2.969 kB / 0.5247 GB, free: 35.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3761, allocations: 0 / 0.5247 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.0004273/0.3765, allocations: 401.8 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3765, allocations: 10.59 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.3766, allocations: 10.12 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3768, allocations: 219.1 kB / 0.5253 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3768, allocations: 384 / 0.5253 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3768, allocations: 10.94 kB / 0.5254 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3769, allocations: 47.47 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.377, allocations: 0 / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.377, allocations: 6.594 kB / 0.5254 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.377, allocations: 0 / 0.5254 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.3771, allocations: 15.02 kB / 0.5254 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3772, allocations: 186.4 kB / 0.5256 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3774, allocations: 56.34 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3774, allocations: 21.05 kB / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3774, allocations: 0 / 0.5257 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.3776, allocations: 67.62 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3776, allocations: 0 / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002352/0.3778, allocations: 102.5 kB / 0.5258 GB, free: 34.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3779, allocations: 55.41 kB / 0.5259 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.378, allocations: 214.5 kB / 0.5261 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.3781, allocations: 28.27 kB / 0.5261 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.3781, allocations: 105 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3781, allocations: 10.88 kB / 0.5262 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.3781, allocations: 0 / 0.5262 GB, free: 34.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.3782, allocations: 325.3 kB / 0.5265 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.3782, allocations: 15.66 kB / 0.5266 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.3783, allocations: 33.92 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.3784, allocations: 48.17 kB / 0.5266 GB, free: 34.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3784, allocations: 0 / 0.5266 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001208/0.3785, allocations: 82.38 kB / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3785, allocations: 9.312 kB / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3785, allocations: 0 / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3786, allocations: 3.234 kB / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.3786, allocations: 19.19 kB / 0.5267 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3786, allocations: 0 / 0.5267 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.3787, allocations: 2.906 kB / 0.5267 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3787, allocations: 2.406 kB / 0.5267 GB, free: 34.08 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.133e-05/0.3788, allocations: 138.7 kB / 0.5269 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.3788, allocations: 16.41 kB / 0.5269 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.3788, allocations: 14.22 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3789, allocations: 4 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3789, allocations: 0 / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3789, allocations: 6.469 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.158e-05/0.379, allocations: 189.7 kB / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.379, allocations: 3.156 kB / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.379, allocations: 2.719 kB / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.379, allocations: 7.922 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.379, allocations: 0 / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.379, allocations: 3.844 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.379, allocations: 2.656 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3792, allocations: 112 kB / 0.5272 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.3792, allocations: 93.92 kB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3793, allocations: 0 / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.3793, allocations: 6.75 kB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3793, allocations: 5.984 kB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3794, allocations: 3.781 kB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.976e-05/0.3795, allocations: 167.8 kB / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3795, allocations: 0 / 0.5275 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.3797, allocations: 16.23 kB / 0.5275 GB, free: 33.41 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.0008322/0.3805, allocations: 474.5 kB / 0.528 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.3806, allocations: 35.97 kB / 0.528 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3807, allocations: 0 / 0.528 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.3807, allocations: 18.67 kB / 0.528 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.0002344/0.381, allocations: 37.09 kB / 0.528 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3813, allocations: 240.5 kB / 0.5283 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3814, allocations: 0.709 MB / 0.529 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.3815, allocations: 20.33 kB / 0.529 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.3815, allocations: 17.16 kB / 0.529 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3815, allocations: 0 / 0.529 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003333/0.3849, allocations: 1.431 MB / 0.5304 GB, free: 32.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches