Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002051/0.002051, allocations: 214 kB / 23.73 MB, free: 4.16 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2276/0.2276, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002121/0.002121, allocations: 67.91 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003271/0.3242, allocations: 1.726 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3261, allocations: 0.9779 MB / 0.5602 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.3261, allocations: 0 / 0.5602 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.3265, allocations: 91.69 kB / 0.5603 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.3268, allocations: 123.5 kB / 0.5604 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.327, allocations: 87.59 kB / 0.5605 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3272, allocations: 119.7 kB / 0.5606 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3273, allocations: 15.97 kB / 0.5606 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.3274, allocations: 59.77 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3275, allocations: 59.81 kB / 0.5607 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3276, allocations: 7.984 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3277, allocations: 67.91 kB / 0.5608 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.3278, allocations: 27.86 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.3278, allocations: 31.8 kB / 0.5608 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3281, allocations: 149.8 kB / 0.561 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3281, allocations: 0 / 0.561 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3281, allocations: 3.938 kB / 0.561 GB, free: 3.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3281, allocations: 0 / 0.561 GB, free: 3.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005746/0.3286, allocations: 373.3 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3287, allocations: 12.03 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.3287, allocations: 12.84 kB / 0.5614 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.329, allocations: 163.1 kB / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.329, allocations: 384 / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.329, allocations: 16.11 kB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3292, allocations: 61.67 kB / 0.5616 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3292, allocations: 0 / 0.5616 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3292, allocations: 4 kB / 0.5616 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3292, allocations: 0 / 0.5616 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.3293, allocations: 27.92 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3297, allocations: 252.4 kB / 0.5619 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.33, allocations: 58.55 kB / 0.5619 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.33, allocations: 20.97 kB / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3301, allocations: 8 kB / 0.5619 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.3302, allocations: 71.33 kB / 0.562 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3302, allocations: 0 / 0.562 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007987/0.331, allocations: 249.2 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3311, allocations: 51.41 kB / 0.5623 GB, free: 2.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3313, allocations: 246.9 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3314, allocations: 25.7 kB / 0.5626 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.3315, allocations: 120 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.3315, allocations: 35.81 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3316, allocations: 33.7 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3317, allocations: 326.8 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.3318, allocations: 27.98 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.3319, allocations: 45.33 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.332, allocations: 85.64 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.332, allocations: 0 / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002485/0.3323, allocations: 137.4 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3323, allocations: 8 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3323, allocations: 8.016 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3323, allocations: 0 / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.3324, allocations: 16 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3324, allocations: 4.703 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.3325, allocations: 11.92 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3325, allocations: 4 kB / 0.5634 GB, free: 1.277 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 (13): * Single equations (assignments): 13 * 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.0001175/0.3326, allocations: 133.8 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.3326, allocations: 15.91 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.3329, allocations: 162.9 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3329, allocations: 4 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3329, allocations: 0 / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.333, allocations: 3.938 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.3335, allocations: 387.8 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3335, allocations: 0 / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.3336, allocations: 23.98 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3336, allocations: 7.922 kB / 0.5641 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3336, allocations: 8 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3336, allocations: 0 / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3336, allocations: 8 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3339, allocations: 245.4 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.334, allocations: 11.91 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.334, allocations: 7.875 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3341, allocations: 11.98 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.3341, allocations: 7.984 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3341, allocations: 4 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3343, allocations: 179.3 kB / 0.5645 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 0.5645 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3346, allocations: 27.94 kB / 0.5646 GB, free: 15.96 MB / 414.1 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 (12): * Single equations (assignments): 10 * 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.00213/0.3367, allocations: 0.5521 MB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.337, allocations: 79.84 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.337, allocations: 4 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.3371, allocations: 39.86 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3374, allocations: 35.67 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.338, allocations: 292.5 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3381, allocations: 105.8 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.3382, allocations: 16.62 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.3382, allocations: 27.42 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3382, allocations: 0 / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Templates: time 0.00577/0.344, allocations: 2.173 MB / 0.5678 GB, free: 12.87 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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: 5.338809594511986]