Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001711/0.001711, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001896/0.001896, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.616/1.616, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 46.93 MB / 360.8 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 59.91 kB / 0.4967 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4207, allocations: 66.03 MB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003418/0.4241, allocations: 1.713 MB / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.426, allocations: 1.018 MB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.426, allocations: 3.938 kB / 0.5639 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.4264, allocations: 67.72 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.4267, allocations: 107.6 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.4269, allocations: 71.73 kB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.4271, allocations: 115.6 kB / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.4272, allocations: 240 / 0.5642 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4273, allocations: 51.78 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4274, allocations: 55.69 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4274, allocations: 4 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.4275, allocations: 28 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.4276, allocations: 19.92 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.4276, allocations: 39.78 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.4278, allocations: 97.98 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4278, allocations: 4 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4278, allocations: 0 / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4278, allocations: 3.938 kB / 0.5645 GB, free: 0.9805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006117/0.4285, allocations: 341.5 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4285, allocations: 12.03 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.4286, allocations: 12.84 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.4288, allocations: 147.1 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4289, allocations: 4.375 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.4289, allocations: 8.125 kB / 0.565 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.429, allocations: 45.67 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.429, allocations: 0 / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.429, allocations: 0 / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.429, allocations: 0 / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.4291, allocations: 15.98 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.4293, allocations: 160.7 kB / 0.5652 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.4295, allocations: 58.61 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.4296, allocations: 12.8 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.4296, allocations: 4 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.4298, allocations: 63.47 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4298, allocations: 0 / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002883/0.4301, allocations: 101.5 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4301, allocations: 55.41 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.4303, allocations: 198.2 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4303, allocations: 25.7 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.4304, allocations: 104.1 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.4304, allocations: 19.8 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4305, allocations: 17.72 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4306, allocations: 326.8 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.4307, allocations: 15.98 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.4307, allocations: 25.72 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.4308, allocations: 49.89 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4308, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.431, allocations: 89.53 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.431, allocations: 7.969 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.431, allocations: 4 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.431, allocations: 0 / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.4311, allocations: 15.98 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4311, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4312, allocations: 7.938 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4312, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.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 (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 0.0001186/0.4313, allocations: 125.8 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4313, allocations: 15.94 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.4315, allocations: 90.7 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4315, allocations: 4 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4315, allocations: 0 / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.4315, allocations: 0 / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4317, allocations: 164.6 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4317, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.4317, allocations: 8 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4317, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4317, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4317, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4317, allocations: 4 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4319, allocations: 109.2 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.4319, allocations: 7.953 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.432, allocations: 15.92 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.432, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.4321, allocations: 4 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4321, allocations: 3.984 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.4322, allocations: 148.2 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4322, allocations: 7.938 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.4324, allocations: 27.92 kB / 0.5671 GB, free: 14.07 MB / 414.1 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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001506/0.4339, allocations: 397.8 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.4341, allocations: 39.98 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4341, allocations: 0 / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/0.4342, allocations: 24.05 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4344, allocations: 41.73 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.4349, allocations: 198 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4352, allocations: 0.704 MB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.4353, allocations: 20.33 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.4353, allocations: 15.38 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4353, allocations: 0 / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004764/0.4401, allocations: 1.534 MB / 0.5699 GB, free: 11.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.570587925147265]