Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.00105/0.00105, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005053/0.006103, 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.001172/0.001172, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002921/0.004093, allocations: 479.5 kB / 11.83 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.005/1.005, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09231/1.098, 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.3043/0.3043, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02671/0.331, allocations: 13.11 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.118e-05, allocations: 8.203 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002297/0.002318, allocations: 1.98 MB / 294.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003656, allocations: 1.127 MB / 296 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.003748, allocations: 3.938 kB / 296.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.004057, allocations: 215.2 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.004372, allocations: 227 kB / 296.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.00458, allocations: 127.5 kB / 296.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004819, allocations: 251.2 kB / 296.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.004912, allocations: 22.59 kB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.005121, allocations: 204.8 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.005261, allocations: 143.6 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.005281, allocations: 8 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005384, allocations: 63.92 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.005451, allocations: 51.8 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.005497, allocations: 43.81 kB / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.005722, allocations: 191.2 kB / 297.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.005737, allocations: 3.984 kB / 297.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005738, allocations: 0 / 297.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.005748, allocations: 0 / 297.6 MB, free: 1.457 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005849/0.006332, allocations: 0.5114 MB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.006362, allocations: 8.031 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.006408, allocations: 28.89 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.0066, allocations: 209.8 kB / 298.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.006616, allocations: 4.375 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.00664, allocations: 12.38 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.006784, allocations: 119.3 kB / 298.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006795, allocations: 3.938 kB / 298.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006804, allocations: 3.984 kB / 298.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.006817, allocations: 4 kB / 298.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.026e-05/0.006857, allocations: 21.64 kB / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.007154, allocations: 308.8 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.007363, allocations: 178.9 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.007396, allocations: 37.48 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.007408, allocations: 4 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.007533, allocations: 102.9 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.007535, allocations: 0 / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006266/0.008161, allocations: 344.1 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.008197, allocations: 81.11 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.008406, allocations: 328.6 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.00843, allocations: 33.7 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.008483, allocations: 121.5 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.008535, allocations: 71.41 kB / 300.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.008579, allocations: 41.69 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008682, allocations: 354.7 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.008716, allocations: 22.83 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.008773, allocations: 58.02 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.008869, allocations: 106.8 kB / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.008871, allocations: 0 / 300.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001459/0.009017, allocations: 137.5 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.009033, allocations: 8 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009039, allocations: 3.938 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.009056, allocations: 0 / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.009161, allocations: 55.91 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009166, allocations: 0.9375 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.009211, allocations: 11.94 kB / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.009222, allocations: 7.984 kB / 300.9 MB, free: 13.94 MB / 298.7 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.407e-05/0.009316, allocations: 133.2 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.009346, allocations: 23.97 kB / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.009531, allocations: 156.4 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.009535, allocations: 4 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.009537, allocations: 0 / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.009543, allocations: 7.922 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.009957, allocations: 0.5634 MB / 301.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009959, allocations: 4.031 kB / 301.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.01002, allocations: 43.91 kB / 301.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.01004, allocations: 27.75 kB / 301.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01005, allocations: 4 kB / 301.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01006, allocations: 11.98 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01006, allocations: 0 / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01007, allocations: 4 kB / 301.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01026, allocations: 415.8 kB / 302.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01029, allocations: 11.98 kB / 302.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.01036, allocations: 16 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.0104, allocations: 19.97 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.01042, allocations: 4 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01052, allocations: 147.4 kB / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01073, allocations: 47.92 kB / 302.5 MB, free: 12.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001592/0.01232, allocations: 0.7304 MB / 303.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01248, allocations: 100.7 kB / 303.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.01249, allocations: 4 kB / 303.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.01257, allocations: 72.7 kB / 303.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.01298, allocations: 375.9 kB / 303.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.01366, allocations: 0.4894 MB / 304.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.01372, allocations: 100.3 kB / 304.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.01379, allocations: 33.94 kB / 304.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01389, allocations: 95.34 kB / 304.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0139, allocations: 0 / 304.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Templates: time 0.005722/0.01962, allocations: 3.706 MB / 308.2 MB, free: 6.875 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.090013924986124]