Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007891, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001897, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007088/0.0007088, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009147/0.001623, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09017/1.103, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0265/0.2791, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 293.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.484e-05, allocations: 4.281 kB / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003148/0.003173, allocations: 1.892 MB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.005411, allocations: 1.107 MB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.00554, allocations: 0 / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.005934, allocations: 299.1 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.006304, allocations: 259 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.006543, allocations: 103.6 kB / 297.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.006795, allocations: 259.2 kB / 297.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.006841, allocations: 10.47 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.007052, allocations: 217 kB / 298.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.007225, allocations: 172.1 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.007244, allocations: 8 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.00737, allocations: 51.92 kB / 298.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.007474, allocations: 128.3 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.007537, allocations: 55.69 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.00778, allocations: 270.9 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.007796, allocations: 0 / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007797, allocations: 0 / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.007812, allocations: 0 / 298.7 MB, free: 312 kB / 282.7 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.0006439/0.008456, allocations: 0.6897 MB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.008484, allocations: 11.97 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.008529, allocations: 36.83 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.008773, allocations: 297.9 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.00879, allocations: 384 / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.008802, allocations: 8.359 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.008922, allocations: 83.47 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.008929, allocations: 192 / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.008938, allocations: 8.359 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008945, allocations: 7.938 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.008981, allocations: 21.58 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.009104, allocations: 118.3 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.009213, allocations: 74.88 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.009241, allocations: 33.62 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.009253, allocations: 4 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.009365, allocations: 95.89 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.009366, allocations: 0 / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001484/0.009514, allocations: 111.2 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.009547, allocations: 93.03 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.009895, allocations: 0.5867 MB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.009911, allocations: 29.7 kB / 301 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.009966, allocations: 149.3 kB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.009998, allocations: 27.78 kB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.01003, allocations: 25.7 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.01012, allocations: 366.7 kB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.01014, allocations: 14.81 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.01018, allocations: 45.91 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.01024, allocations: 71.83 kB / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01024, allocations: 0 / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.858e-05/0.01034, allocations: 103.2 kB / 301.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01035, allocations: 4 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01035, allocations: 4 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.01036, allocations: 3.984 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.01044, allocations: 27.92 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.01044, allocations: 0.625 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.01048, allocations: 15.89 kB / 301.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.01049, allocations: 12 kB / 301.9 MB, free: 12.92 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 7.95e-05/0.01057, allocations: 128.5 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.0106, allocations: 31.91 kB / 302 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.01072, allocations: 121.9 kB / 302.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01072, allocations: 4 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01073, allocations: 0 / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01073, allocations: 3.938 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.01085, allocations: 169.7 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01085, allocations: 0 / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.01088, allocations: 19.94 kB / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.01093, allocations: 55.64 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01093, allocations: 0 / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.01093, allocations: 4 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01093, allocations: 0 / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01094, allocations: 0 / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.516e-05/0.01103, allocations: 134.3 kB / 302.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.01105, allocations: 4 kB / 302.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.01109, allocations: 11.98 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.01112, allocations: 11.92 kB / 302.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01113, allocations: 4 kB / 302.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.01133, allocations: 311.2 kB / 302.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01133, allocations: 0 / 302.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.01146, allocations: 55.92 kB / 302.9 MB, free: 11.81 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001154/0.01262, allocations: 0.5447 MB / 303.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.01271, allocations: 56.78 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.01272, allocations: 4 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.01276, allocations: 45.27 kB / 303.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01297, allocations: 90 kB / 303.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.01371, allocations: 0.6423 MB / 304.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.01379, allocations: 124.2 kB / 304.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.01384, allocations: 42.94 kB / 304.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.01395, allocations: 99.3 kB / 304.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01395, allocations: 0 / 304.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of Templates: time 0.006547/0.0205, allocations: 4.312 MB / 308.9 MB, free: 6.164 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9720544796437025]