Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001377/0.001377, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001674/0.001674, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2362/0.2362, allocations: 46.93 MB / 361.6 MB, free: 4.285 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.89 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.406, allocations: 66.03 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003584/0.4095, allocations: 1.842 MB / 0.5637 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.4125, allocations: 1.801 MB / 0.5655 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.4126, allocations: 3.938 kB / 0.5655 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.4129, allocations: 63.61 kB / 0.5656 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.4133, allocations: 131.4 kB / 0.5657 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.4136, allocations: 103.7 kB / 0.5658 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.4139, allocations: 223.2 kB / 0.566 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.732e-05/0.4139, allocations: 9.812 kB / 0.566 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.4141, allocations: 87.62 kB / 0.5661 GB, free: 148 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.4143, allocations: 83.61 kB / 0.5662 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4144, allocations: 8 kB / 0.5662 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.4146, allocations: 119.8 kB / 0.5663 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.4147, allocations: 35.89 kB / 0.5663 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.4148, allocations: 63.61 kB / 0.5664 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.4151, allocations: 233.4 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4151, allocations: 0 / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4151, allocations: 0 / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4151, allocations: 4 kB / 0.5666 GB, free: 15.61 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007607/0.4159, allocations: 428.9 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4159, allocations: 8.031 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.416, allocations: 16.84 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.4164, allocations: 202.1 kB / 0.5672 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4164, allocations: 4.375 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.4164, allocations: 8.125 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.4167, allocations: 97.08 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4167, allocations: 0 / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.4167, allocations: 8 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4167, allocations: 0 / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4168, allocations: 27.92 kB / 0.5674 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.4171, allocations: 197.6 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.4174, allocations: 97.17 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.4174, allocations: 41.64 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4175, allocations: 7.984 kB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.4177, allocations: 105.1 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4177, allocations: 3.938 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004694/0.4182, allocations: 169.5 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4183, allocations: 136.5 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4186, allocations: 240.1 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4186, allocations: 29.64 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.4187, allocations: 116.1 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.4187, allocations: 31.8 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.4188, allocations: 29.7 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4189, allocations: 330.8 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.419, allocations: 23.98 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.4192, allocations: 81.12 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4193, allocations: 79.36 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4193, allocations: 4 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002734/0.4196, allocations: 145.5 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4196, allocations: 4 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4196, allocations: 3.984 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.4197, allocations: 4 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4198, allocations: 19.94 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4198, allocations: 4.609 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.4199, allocations: 19.83 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4199, allocations: 8 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001353/0.42, allocations: 142.3 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.4201, allocations: 19.89 kB / 0.5694 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.4204, allocations: 150.7 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4204, allocations: 0 / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4204, allocations: 0 / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4204, allocations: 0 / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.4206, allocations: 204.5 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4206, allocations: 3.938 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.4207, allocations: 8 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4207, allocations: 4 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4207, allocations: 8 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4207, allocations: 0 / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4207, allocations: 0 / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.421, allocations: 169.7 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.421, allocations: 19.84 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4211, allocations: 8 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.4211, allocations: 7.984 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4212, allocations: 11.98 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4212, allocations: 4 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4214, allocations: 177.9 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4214, allocations: 3.938 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.4217, allocations: 51.86 kB / 0.5702 GB, free: 11.61 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001797/0.4235, allocations: 0.4941 MB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.4237, allocations: 83.84 kB / 0.5707 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4237, allocations: 0 / 0.5707 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4238, allocations: 35.97 kB / 0.5708 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4242, allocations: 62.89 kB / 0.5708 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.4248, allocations: 309.3 kB / 0.5711 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4252, allocations: 0.7243 MB / 0.5718 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.4253, allocations: 31.42 kB / 0.5719 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4253, allocations: 0 / 0.5719 GB, free: 10.01 MB / 414.1 MB Notification: Performance of Templates: time 0.005986/0.4313, allocations: 3.18 MB / 0.575 GB, free: 6.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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: 8.211745274951681]