Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001064/0.001064, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002653, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001079/0.001079, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002508, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1185/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2663/0.2663, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02319/0.2895, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.965e-05, allocations: 3.406 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002237/0.002257, allocations: 1.807 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003448, allocations: 1.018 MB / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.003524, allocations: 0 / 295.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.003709, allocations: 47.58 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.003953, allocations: 95.47 kB / 295.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.004154, allocations: 79.55 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.004314, allocations: 107.6 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.004386, allocations: 11.98 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004506, allocations: 83.75 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.004577, allocations: 23.91 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.004591, allocations: 4 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.004675, allocations: 51.92 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.004718, allocations: 15.92 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.004747, allocations: 15.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004903, allocations: 99.55 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.004914, allocations: 4 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004915, allocations: 0 / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.004924, allocations: 0 / 296.4 MB, free: 2.641 MB / 282.7 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.0004052/0.005329, allocations: 333 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.005358, allocations: 8.031 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.005392, allocations: 8.938 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.005534, allocations: 154.2 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.005549, allocations: 4.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.005566, allocations: 384 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.00568, allocations: 69.7 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005692, allocations: 3.938 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.005699, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005706, allocations: 0 / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.005731, allocations: 11.98 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.005926, allocations: 162 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.006025, allocations: 89.22 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.006044, allocations: 24.78 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006054, allocations: 0 / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.647e-05/0.006151, allocations: 70.14 kB / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006152, allocations: 0 / 297.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002995/0.006451, allocations: 117.7 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.006481, allocations: 51.41 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006588, allocations: 177.3 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.006606, allocations: 33.7 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.006636, allocations: 96.11 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.00666, allocations: 23.84 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.006691, allocations: 25.7 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.006764, allocations: 322.8 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.006781, allocations: 10.83 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.006804, allocations: 29.64 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.006843, allocations: 40.52 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006844, allocations: 0 / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.156e-05/0.006926, allocations: 76.44 kB / 298.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.00694, allocations: 8 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006945, allocations: 8.016 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.006959, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.007024, allocations: 16 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.007027, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.007053, allocations: 0 / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00706, allocations: 11.98 kB / 298.3 MB, free: 0.5156 MB / 282.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 ($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 6.422e-05/0.007125, allocations: 121.5 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.007137, allocations: 15.92 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.007236, allocations: 67.14 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.007239, allocations: 4 kB / 298.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.00724, allocations: 4 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007244, allocations: 0 / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.007461, allocations: 303.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007464, allocations: 3.984 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.007492, allocations: 11.94 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.007502, allocations: 7.953 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007505, allocations: 4 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.007511, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007513, allocations: 3.938 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007514, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.721e-05/0.007611, allocations: 227 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007626, allocations: 0 / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.007665, allocations: 4 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.00769, allocations: 7.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.007701, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.007743, allocations: 47.64 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007743, allocations: 0 / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.00789, allocations: 20 kB / 299.2 MB, free: 15.61 MB / 298.7 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.001325/0.009215, allocations: 0.653 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.571e-05/0.00931, allocations: 48.77 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.009318, allocations: 0 / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.009355, allocations: 36.95 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.009573, allocations: 180.4 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.01, allocations: 215.7 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.01004, allocations: 75.31 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.01008, allocations: 12.92 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.01014, allocations: 71.36 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01014, allocations: 0 / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003374/0.01351, allocations: 2.052 MB / 302.5 MB, free: 12.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.013244381174445]