Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001193/0.001193, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003066, allocations: 449.7 kB / 10.37 MB, free: 320 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.001185/0.001185, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.002228, allocations: 463.6 kB / 11.72 MB, free: 2.449 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 0.9767/0.9767, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09027/1.067, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2855/0.2855, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02436/0.3099, allocations: 13.22 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.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 294 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.586e-05, allocations: 5.078 kB / 294 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002047/0.002063, allocations: 1.97 MB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.00345, allocations: 1.126 MB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.003534, allocations: 0 / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.003789, allocations: 167.3 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.004101, allocations: 199.1 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.004325, allocations: 123.6 kB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.004567, allocations: 247.2 kB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.004652, allocations: 14.62 kB / 297.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.004862, allocations: 192.2 kB / 298 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.004998, allocations: 107.7 kB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.005021, allocations: 12 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.00514, allocations: 67.89 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.005207, allocations: 47.8 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.005256, allocations: 31.88 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.005468, allocations: 179.2 kB / 298.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.655e-05/0.005484, allocations: 4 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005485, allocations: 0 / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.005502, allocations: 0 / 298.4 MB, free: 0.5938 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.0005332/0.006035, allocations: 495.9 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006075, allocations: 12.03 kB / 298.9 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.006115, allocations: 20.92 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.006322, allocations: 201.9 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.006341, allocations: 384 / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.006364, allocations: 16.36 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.006519, allocations: 113.9 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006529, allocations: 4.188 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006539, allocations: 384 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.006546, allocations: 7.938 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.006591, allocations: 25.64 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.006905, allocations: 300.8 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.007129, allocations: 190.6 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.007162, allocations: 25.97 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007176, allocations: 11.98 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.00731, allocations: 105.1 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.007312, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005734/0.007885, allocations: 322.4 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.007921, allocations: 81.11 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.008099, allocations: 284.7 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.008117, allocations: 33.69 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.008157, allocations: 113.2 kB / 300.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.008203, allocations: 79.41 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.008247, allocations: 45.67 kB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.008602, allocations: 342.7 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.008631, allocations: 26.81 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.008675, allocations: 55.39 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.008761, allocations: 107.3 kB / 301.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.008762, allocations: 3.938 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001202/0.008883, allocations: 133.3 kB / 301.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.008894, allocations: 10.5 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.008899, allocations: 0 / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.008908, allocations: 4 kB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.00901, allocations: 51.91 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.009015, allocations: 7.938 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.009055, allocations: 7.938 kB / 301.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.009065, allocations: 8 kB / 301.6 MB, free: 13.19 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.697e-05/0.009162, allocations: 128.5 kB / 301.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.009189, allocations: 32.02 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.009378, allocations: 155.5 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009381, allocations: 4 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.009385, allocations: 3.984 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009389, allocations: 0 / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.009785, allocations: 0.5561 MB / 302.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009787, allocations: 3.938 kB / 302.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.009846, allocations: 39.92 kB / 302.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.009867, allocations: 27.94 kB / 302.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.009871, allocations: 3.938 kB / 302.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.009882, allocations: 11.98 kB / 302.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.009885, allocations: 4 kB / 302.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009886, allocations: 0 / 302.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.01008, allocations: 408.5 kB / 303 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01011, allocations: 11.94 kB / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01018, allocations: 7.984 kB / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.01021, allocations: 19.97 kB / 303 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.01023, allocations: 12 kB / 303 MB, free: 11.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.01031, allocations: 127.4 kB / 303.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 303.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.01051, allocations: 47.94 kB / 303.2 MB, free: 11.52 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.001554/0.01206, allocations: 0.7145 MB / 303.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01221, allocations: 96.7 kB / 304 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.01222, allocations: 8.109 kB / 304 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.01227, allocations: 68.64 kB / 304.1 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01255, allocations: 82.03 kB / 304.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.01313, allocations: 464.2 kB / 304.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.54e-05/0.01319, allocations: 96.11 kB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.01326, allocations: 42.17 kB / 304.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.01335, allocations: 95.34 kB / 304.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01336, allocations: 0 / 304.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Templates: time 0.006176/0.01953, allocations: 3.685 MB / 308.5 MB, free: 6.551 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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: 3.0096510937437415]