Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.0007675/0.0007675, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002001, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007093/0.0007093, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009844/0.001694, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.16/1.16, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.278, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2958/0.2958, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03294/0.3288, allocations: 13.23 MB / 292.8 MB, free: 6.414 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.413e-05, allocations: 2.969 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.009281/0.009305, allocations: 1.986 MB / 296.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.01118, allocations: 1.122 MB / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.01129, allocations: 0 / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.01167, allocations: 235.2 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.01207, allocations: 215.1 kB / 297.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.01541, allocations: 119.5 kB / 297.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.01578, allocations: 259.2 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.01588, allocations: 26.61 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.01617, allocations: 220 kB / 298.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.01635, allocations: 131.7 kB / 298.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.01637, allocations: 8 kB / 298.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.01653, allocations: 67.84 kB / 298.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.0166, allocations: 51.8 kB / 298.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.01666, allocations: 39.81 kB / 298.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.01696, allocations: 191.2 kB / 298.8 MB, free: 356 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.01697, allocations: 0 / 298.8 MB, free: 356 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.01697, allocations: 0 / 298.8 MB, free: 356 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.01699, allocations: 0 / 298.8 MB, free: 356 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007007/0.01769, allocations: 0.5115 MB / 299.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.01773, allocations: 8.031 kB / 299.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.01779, allocations: 28.92 kB / 299.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.01804, allocations: 217.7 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.01806, allocations: 4.359 kB / 299.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003057/0.02111, allocations: 12.38 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.02134, allocations: 111.4 kB / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.02136, allocations: 192 / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.02137, allocations: 384 / 299.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.02138, allocations: 15.88 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.02143, allocations: 33.56 kB / 299.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.02185, allocations: 293 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.02214, allocations: 186.6 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.02218, allocations: 25.7 kB / 300.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.0222, allocations: 4 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.02237, allocations: 109.8 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.02237, allocations: 8 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008291/0.0232, allocations: 324.8 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.02325, allocations: 89.05 kB / 300.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.02351, allocations: 328.6 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.02353, allocations: 29.7 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.02359, allocations: 121.6 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.02365, allocations: 71.39 kB / 301.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.02371, allocations: 45.69 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.02381, allocations: 350.7 kB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.02386, allocations: 22.81 kB / 301.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.02392, allocations: 59.34 kB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.02506, allocations: 104.2 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.02507, allocations: 0 / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001486/0.02521, allocations: 139.2 kB / 302 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.02523, allocations: 4 kB / 302 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02524, allocations: 4.062 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.02526, allocations: 4 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.02538, allocations: 55.91 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.02539, allocations: 4 kB / 302.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.02543, allocations: 8 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.02545, allocations: 4.938 kB / 302.1 MB, free: 12.84 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 0.000104/0.02555, allocations: 132.5 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.02558, allocations: 19.98 kB / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.0258, allocations: 173.9 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.0258, allocations: 4 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02581, allocations: 0 / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02581, allocations: 4 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.02631, allocations: 0.5543 MB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02631, allocations: 0 / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.02638, allocations: 43.91 kB / 303 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.02641, allocations: 27.8 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.02642, allocations: 11.92 kB / 303.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.02643, allocations: 8.125 kB / 303.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.02644, allocations: 8 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02644, allocations: 0 / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.02669, allocations: 412.8 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.02673, allocations: 11.94 kB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.02681, allocations: 11.98 kB / 303.5 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.02685, allocations: 15.97 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.02688, allocations: 12 kB / 303.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.02698, allocations: 139.4 kB / 303.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02698, allocations: 3.938 kB / 303.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.02718, allocations: 59.92 kB / 303.7 MB, free: 11.12 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.001617/0.0288, allocations: 0.7042 MB / 304.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.02897, allocations: 100.6 kB / 304.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.02898, allocations: 8 kB / 304.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.02906, allocations: 73.25 kB / 304.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.02949, allocations: 364.7 kB / 305 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.03026, allocations: 0.496 MB / 305.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.03033, allocations: 104.2 kB / 305.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.185e-05/0.03042, allocations: 37.92 kB / 305.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.03053, allocations: 95.34 kB / 305.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of SimCode: time 2.084e-06/0.03053, allocations: 0 / 305.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of Templates: time 0.006024/0.03656, allocations: 3.713 MB / 309.4 MB, free: 5.742 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.2840168308466673]