Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0008366/0.0008366, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002151, 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.0008063/0.0008063, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001813, 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.019/1.019, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09072/1.11, allocations: 53.87 MB / 243.8 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.3029/0.3029, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02263/0.3255, allocations: 13.24 MB / 292.6 MB, free: 6.477 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.301e-05, allocations: 2.312 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003151/0.003174, allocations: 1.824 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005238, allocations: 1.033 MB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.005355, allocations: 0 / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.005696, allocations: 103.6 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.006086, allocations: 131.4 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.006354, allocations: 83.59 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.006594, allocations: 127.7 kB / 297.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006699, allocations: 11.98 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.006896, allocations: 103.7 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.007016, allocations: 59.86 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.007036, allocations: 7.938 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.00717, allocations: 59.92 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.007243, allocations: 27.92 kB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.007293, allocations: 27.88 kB / 297.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.007533, allocations: 127.5 kB / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-05/0.007554, allocations: 0 / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007555, allocations: 0 / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.007572, allocations: 0 / 297.7 MB, free: 1.371 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005654/0.008137, allocations: 380.7 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.008174, allocations: 8.922 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.008216, allocations: 8.938 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.008499, allocations: 162.5 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.008521, allocations: 4.375 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.008541, allocations: 8.375 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.008711, allocations: 78.62 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.008722, allocations: 192 / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.00873, allocations: 384 / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.008738, allocations: 3.938 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.008789, allocations: 15.98 kB / 298.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.009077, allocations: 185.8 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009274, allocations: 101.3 kB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.009305, allocations: 12.86 kB / 298.6 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.00932, allocations: 11.98 kB / 298.6 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.009461, allocations: 66.2 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.009463, allocations: 0 / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005627/0.01003, allocations: 199.3 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01008, allocations: 51.41 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01026, allocations: 217.8 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01027, allocations: 29.7 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.01032, allocations: 96.11 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.01036, allocations: 39.67 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.01041, allocations: 37.69 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01051, allocations: 326.8 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.01054, allocations: 14.81 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.01058, allocations: 30.83 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.01066, allocations: 55.94 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01066, allocations: 0 / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001282/0.01078, allocations: 93.34 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.0108, allocations: 4 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.0108, allocations: 0 / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01081, allocations: 8.031 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.0109, allocations: 27.92 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.01091, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.01095, allocations: 8 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.01096, allocations: 3.984 kB / 299.9 MB, free: 14.95 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 (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.72e-05/0.01104, allocations: 116.7 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.01106, allocations: 15.92 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01123, allocations: 103 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.01124, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.01124, allocations: 0 / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01124, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.01159, allocations: 344.7 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.0116, allocations: 4 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.01166, allocations: 27.92 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01168, allocations: 15.91 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01169, allocations: 0 / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.0117, allocations: 4 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.0117, allocations: 3.984 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.0117, allocations: 4 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01187, allocations: 252.4 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.01189, allocations: 0 / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.01196, allocations: 8 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.012, allocations: 7.984 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01201, allocations: 7.984 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.74e-05/0.01209, allocations: 69.94 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01209, allocations: 0 / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.01236, allocations: 35.92 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002278/0.01464, allocations: 0.7082 MB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01477, allocations: 64.7 kB / 301.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.01478, allocations: 4 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.01483, allocations: 36.77 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01511, allocations: 51.41 kB / 301.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.01574, allocations: 297 kB / 302.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.165e-05/0.0158, allocations: 88 kB / 302.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.01586, allocations: 21.12 kB / 302.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.01595, allocations: 71.36 kB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01596, allocations: 0 / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Templates: time 0.005142/0.0211, allocations: 2.483 MB / 304.7 MB, free: 10.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.8367414427921176]