Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.0007638/0.0007638, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001949, 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.0006845/0.0006845, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009607/0.001645, 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 0.9743/0.9743, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2609/0.2609, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03414/0.2951, allocations: 13.24 MB / 292.8 MB, free: 6.359 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.144e-05, allocations: 2.969 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00373/0.003762, allocations: 2.004 MB / 296.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.005756, allocations: 1.068 MB / 297.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.005878, allocations: 3.938 kB / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.006207, allocations: 47.58 kB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.006546, allocations: 95.41 kB / 297.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.00682, allocations: 99.53 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.007072, allocations: 147.5 kB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.007193, allocations: 26.45 kB / 297.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.007393, allocations: 107.7 kB / 297.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.007511, allocations: 43.88 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.007535, allocations: 8 kB / 297.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.007652, allocations: 47.92 kB / 297.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.007715, allocations: 19.88 kB / 297.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.007765, allocations: 23.94 kB / 297.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.00804, allocations: 127.4 kB / 298 MB, free: 1.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.008054, allocations: 0 / 298 MB, free: 1.105 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.008055, allocations: 0 / 298 MB, free: 1.105 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.008066, allocations: 0 / 298 MB, free: 1.105 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006462/0.008712, allocations: 414.5 kB / 298.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.008761, allocations: 12.92 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.008822, allocations: 12.92 kB / 298.5 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.009093, allocations: 166.3 kB / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.009115, allocations: 4.375 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.009145, allocations: 12.38 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.009373, allocations: 136.1 kB / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.009383, allocations: 192 / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.009394, allocations: 384 / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.009405, allocations: 11.92 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.009454, allocations: 26.75 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.009884, allocations: 378.1 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.01009, allocations: 97.28 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.01012, allocations: 24.78 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.01014, allocations: 4 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.01028, allocations: 103.8 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.01028, allocations: 4 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001607/0.01044, allocations: 67.17 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.01047, allocations: 55.34 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01061, allocations: 192.1 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01063, allocations: 25.7 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.01069, allocations: 112 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.01071, allocations: 27.73 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01077, allocations: 33.69 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.01086, allocations: 326.8 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.01089, allocations: 10.83 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.01093, allocations: 48.28 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.01102, allocations: 74.97 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01102, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001318/0.01116, allocations: 92.3 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01117, allocations: 8 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01118, allocations: 128 / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01119, allocations: 11.94 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.01129, allocations: 23.98 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01129, allocations: 0 / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.01134, allocations: 11.95 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.01135, allocations: 4 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.255e-05/0.01144, allocations: 124.6 kB / 300.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.01146, allocations: 11.94 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.01159, allocations: 77.84 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01159, allocations: 4 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01159, allocations: 4 kB / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0116, allocations: 0 / 300.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.01171, allocations: 113.7 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01171, allocations: 0 / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.01177, allocations: 15.98 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.01179, allocations: 11.89 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01179, allocations: 0 / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.0118, allocations: 4 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.0118, allocations: 4 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01181, allocations: 0 / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01195, allocations: 118.6 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.01197, allocations: 7.969 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.01201, allocations: 8 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.01204, allocations: 7.984 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01205, allocations: 0 / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.01211, allocations: 65.69 kB / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01211, allocations: 0 / 301.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.01229, allocations: 31.89 kB / 301.1 MB, free: 13.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001449/0.01374, allocations: 0.5403 MB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01385, allocations: 56.77 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.01386, allocations: 11.98 kB / 301.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/0.01391, allocations: 32.8 kB / 301.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01415, allocations: 232.6 kB / 302 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.0147, allocations: 266 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.01474, allocations: 75.83 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.01478, allocations: 13.48 kB / 302.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.01485, allocations: 71.36 kB / 302.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01486, allocations: 0 / 302.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003629/0.01848, allocations: 2.24 MB / 304.6 MB, free: 10.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.162373324856162]