Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.000781/0.000781, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.001996, 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.000789/0.000789, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.00185, 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.011/1.011, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/1.121, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2966/0.2966, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03083/0.3274, allocations: 13.23 MB / 292.8 MB, free: 6.391 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.896e-05, allocations: 3.578 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003143/0.003172, allocations: 1.823 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.005834, allocations: 1.773 MB / 297.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.005946, allocations: 4 kB / 297.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.006205, allocations: 35.72 kB / 297.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.006555, allocations: 103.3 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.0068, allocations: 83.55 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.007023, allocations: 107.6 kB / 298.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.007119, allocations: 11.92 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.007285, allocations: 75.88 kB / 298.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.007425, allocations: 39.83 kB / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.007445, allocations: 8 kB / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.007705, allocations: 111.8 kB / 298.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.00777, allocations: 15.92 kB / 298.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.007819, allocations: 15.94 kB / 298.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.008096, allocations: 147.5 kB / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.675e-05/0.008113, allocations: 0 / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008114, allocations: 0 / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.00813, allocations: 0 / 298.5 MB, free: 0.6406 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.0006084/0.008738, allocations: 352.9 kB / 298.9 MB, free: 280 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.008789, allocations: 8.922 kB / 298.9 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.008847, allocations: 20.92 kB / 298.9 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.009035, allocations: 138.2 kB / 299 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.009052, allocations: 384 / 299 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.009078, allocations: 8.359 kB / 299 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.009253, allocations: 113.1 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.009263, allocations: 3.938 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.009271, allocations: 0 / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.009276, allocations: 0 / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.009306, allocations: 18.81 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.009546, allocations: 162 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.009651, allocations: 93.22 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.009674, allocations: 16.86 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.009686, allocations: 0 / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.009806, allocations: 70.05 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.009807, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004187/0.01023, allocations: 113.6 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.01026, allocations: 51.41 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.0104, allocations: 160.3 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01042, allocations: 25.7 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.01046, allocations: 96.11 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.0105, allocations: 31.73 kB / 300 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.01054, allocations: 25.7 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01067, allocations: 322.8 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.01069, allocations: 10.83 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.01074, allocations: 60.2 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.0108, allocations: 36.52 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.0108, allocations: 4 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001065/0.0109, allocations: 76.5 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.01092, allocations: 12 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.01093, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01095, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.01105, allocations: 20.36 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.01105, allocations: 0 / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.0111, allocations: 8 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.0111, allocations: 0 / 300.5 MB, free: 14.42 MB / 298.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 0.0001058/0.01121, allocations: 120.6 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01123, allocations: 15.92 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.01138, allocations: 79.61 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01138, allocations: 3.984 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01139, allocations: 0 / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01139, allocations: 0 / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.01166, allocations: 295.4 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01166, allocations: 0 / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.0117, allocations: 11.98 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01171, allocations: 7.953 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01171, allocations: 0 / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.01172, allocations: 4 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01172, allocations: 0 / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01172, allocations: 4.031 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.01185, allocations: 222.9 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01187, allocations: 4 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01191, allocations: 4 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.01194, allocations: 7.984 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.01196, allocations: 4 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.511e-05/0.012, allocations: 41.08 kB / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 301.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01221, allocations: 51.8 kB / 301.4 MB, free: 13.5 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.001869/0.01408, allocations: 0.7702 MB / 302.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.01425, allocations: 44.72 kB / 302.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.01426, allocations: 0 / 302.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.01431, allocations: 40.92 kB / 302.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.0146, allocations: 185.5 kB / 302.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.01519, allocations: 199.9 kB / 302.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.01524, allocations: 67.34 kB / 302.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01531, allocations: 21.42 kB / 302.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.01541, allocations: 75.34 kB / 302.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01541, allocations: 4.094 kB / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Templates: time 0.00487/0.02028, allocations: 2.809 MB / 305.6 MB, free: 9.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.1174251521006227]