Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003177/0.003177, allocations: 67.89 kB / 0.4936 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4117, allocations: 65.48 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003462/0.4152, allocations: 1.712 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4171, allocations: 0.9676 MB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.103e-05/0.4172, allocations: 7.938 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.4176, allocations: 43.81 kB / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.4179, allocations: 99.53 kB / 0.5603 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.4181, allocations: 75.69 kB / 0.5604 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.4183, allocations: 107.7 kB / 0.5605 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.4184, allocations: 8 kB / 0.5605 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.4185, allocations: 47.78 kB / 0.5605 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.4186, allocations: 35.72 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4186, allocations: 4 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.4187, allocations: 43.98 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.4188, allocations: 15.92 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.4188, allocations: 31.8 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.419, allocations: 129.9 kB / 0.5608 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.419, allocations: 3.938 kB / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.419, allocations: 0 / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.4191, allocations: 0 / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006681/0.4197, allocations: 357.5 kB / 0.5611 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4198, allocations: 8.031 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.4198, allocations: 12.89 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.4201, allocations: 150.3 kB / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.4202, allocations: 4.375 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4202, allocations: 8.125 kB / 0.5613 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4203, allocations: 57.66 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4204, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4204, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4204, allocations: 0 / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.637e-05/0.4205, allocations: 27.92 kB / 0.5614 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.4209, allocations: 240.5 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.421, allocations: 58.67 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.4211, allocations: 16.86 kB / 0.5617 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4211, allocations: 4 kB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.4213, allocations: 71.31 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4213, allocations: 0 / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000613/0.4219, allocations: 185.3 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4219, allocations: 59.41 kB / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.4222, allocations: 222.6 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4222, allocations: 33.69 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.4223, allocations: 104.1 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.4223, allocations: 27.78 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.4224, allocations: 21.72 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4225, allocations: 326.8 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.4226, allocations: 23.98 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.4227, allocations: 37.7 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4228, allocations: 65.64 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4228, allocations: 0 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.423, allocations: 109.6 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.423, allocations: 4 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.423, allocations: 0 / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.423, allocations: 0 / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4231, allocations: 23.92 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4232, allocations: 0 / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.4232, allocations: 8 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4232, allocations: 0 / 0.5629 GB, free: 1.715 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001299/0.4233, allocations: 133.8 kB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4234, allocations: 11.91 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.4237, allocations: 131.1 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4237, allocations: 0 / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4237, allocations: 0 / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4237, allocations: 3.984 kB / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.4242, allocations: 354.9 kB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4242, allocations: 0 / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.4243, allocations: 8 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4243, allocations: 8.031 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4243, allocations: 3.984 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4243, allocations: 3.938 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4243, allocations: 4.219 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.4246, allocations: 220.2 kB / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.4246, allocations: 7.953 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4246, allocations: 4 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.4247, allocations: 8.359 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.4247, allocations: 7.938 kB / 0.5638 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.4247, allocations: 7.984 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.4249, allocations: 163.2 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4249, allocations: 0 / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4252, allocations: 27.94 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.00196/0.4271, allocations: 489.6 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4274, allocations: 63.91 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4274, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.383e-05/0.4275, allocations: 27.92 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.4278, allocations: 34.03 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.4284, allocations: 246.9 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4286, allocations: 96.88 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.396e-05/0.4286, allocations: 21.2 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.4287, allocations: 15.44 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4287, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005763/0.4344, allocations: 1.924 MB / 0.5668 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.428229711949825]