Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2554/0.2554, allocations: 44.93 MB / 359.6 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.89 kB / 0.4943 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3908, allocations: 65.47 MB / 0.5583 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.004829/0.3956, allocations: 1.714 MB / 0.5599 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3984, allocations: 0.9715 MB / 0.5609 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3985, allocations: 0 / 0.5609 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.3989, allocations: 43.75 kB / 0.5609 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.3994, allocations: 95.55 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3998, allocations: 83.66 kB / 0.5611 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.4001, allocations: 107.7 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4002, allocations: 4 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.4003, allocations: 47.77 kB / 0.5612 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.4005, allocations: 27.8 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.4005, allocations: 12 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4006, allocations: 43.92 kB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.4007, allocations: 23.91 kB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.4008, allocations: 23.81 kB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.4011, allocations: 125.9 kB / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4011, allocations: 0 / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4011, allocations: 0 / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4011, allocations: 4 kB / 0.5615 GB, free: 4.098 MB / 398.1 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.0007081/0.4019, allocations: 345.5 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4019, allocations: 15.97 kB / 0.5618 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.402, allocations: 12.89 kB / 0.5618 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.4024, allocations: 155 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4024, allocations: 384 / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.4025, allocations: 8.125 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.4027, allocations: 57.67 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4027, allocations: 0 / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.4027, allocations: 0 / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.4027, allocations: 0 / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.4028, allocations: 19.98 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.4033, allocations: 236.5 kB / 0.5623 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4036, allocations: 62.67 kB / 0.5624 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.4036, allocations: 20.84 kB / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4037, allocations: 0 / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.4039, allocations: 71.33 kB / 0.5624 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.4039, allocations: 0 / 0.5624 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006404/0.4045, allocations: 185.3 kB / 0.5626 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4046, allocations: 55.34 kB / 0.5627 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4048, allocations: 202.3 kB / 0.5629 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4048, allocations: 33.69 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.4049, allocations: 104.1 kB / 0.563 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.4049, allocations: 31.77 kB / 0.563 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.405, allocations: 21.72 kB / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4052, allocations: 326.8 kB / 0.5634 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.4052, allocations: 23.98 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.4053, allocations: 37.7 kB / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4054, allocations: 61.64 kB / 0.5635 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4054, allocations: 0 / 0.5635 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002166/0.4056, allocations: 105.6 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4057, allocations: 8 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4057, allocations: 0 / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4057, allocations: 0 / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.4058, allocations: 19.94 kB / 0.5636 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4058, allocations: 7.984 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.4058, allocations: 3.938 kB / 0.5636 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4059, allocations: 4 kB / 0.5636 GB, free: 1.723 MB / 398.1 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.0001229/0.406, allocations: 132.7 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.406, allocations: 23.92 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.4063, allocations: 123.1 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4063, allocations: 0 / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4063, allocations: 0 / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4063, allocations: 0 / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.4068, allocations: 351.3 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4068, allocations: 0 / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.4069, allocations: 12 kB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4069, allocations: 0 / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4069, allocations: 4.281 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4069, allocations: 4.031 kB / 0.5642 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4069, allocations: 7.875 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.4072, allocations: 220.2 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.4072, allocations: 7.953 kB / 0.5645 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.4072, allocations: 7.938 kB / 0.5645 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.4073, allocations: 4 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.4073, allocations: 11.92 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4074, allocations: 4 kB / 0.5645 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.4075, allocations: 152.2 kB / 0.5646 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4075, allocations: 0 / 0.5646 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4078, allocations: 35.92 kB / 0.5647 GB, free: 0.5625 MB / 398.1 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.001901/0.4097, allocations: 486.6 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4099, allocations: 59.91 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4099, allocations: 0 / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.41, allocations: 39.91 kB / 0.5652 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4103, allocations: 27.86 kB / 0.5653 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.4109, allocations: 276.6 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.411, allocations: 88.19 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.4111, allocations: 23.55 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4111, allocations: 4 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004643/0.4157, allocations: 1.984 MB / 0.5676 GB, free: 13.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.063450748100877]