Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001811/0.001811, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002289/0.002289, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.485/1.485, allocations: 230.6 MB / 258.2 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.2392/0.2392, allocations: 44.93 MB / 359.6 MB, free: 6.148 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [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.002856/0.002856, allocations: 73.77 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3059, allocations: 65.47 MB / 0.5583 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003208/0.3092, allocations: 1.71 MB / 0.5599 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3109, allocations: 0.9715 MB / 0.5609 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.311, allocations: 7.938 kB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.3113, allocations: 47.81 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.3116, allocations: 103.5 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3118, allocations: 75.67 kB / 0.5611 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3119, allocations: 103.7 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.312, allocations: 12 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.3121, allocations: 51.77 kB / 0.5613 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.3122, allocations: 27.8 kB / 0.5613 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3122, allocations: 4 kB / 0.5613 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.3123, allocations: 39.98 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.3124, allocations: 27.91 kB / 0.5614 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.3125, allocations: 31.73 kB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3127, allocations: 134 kB / 0.5615 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3127, allocations: 0 / 0.5615 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3127, allocations: 0 / 0.5615 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3127, allocations: 0 / 0.5615 GB, free: 4.109 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.0005874/0.3133, allocations: 373.3 kB / 0.5619 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3133, allocations: 8.031 kB / 0.5619 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.3134, allocations: 8.891 kB / 0.5619 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3136, allocations: 163.1 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3137, allocations: 384 / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.3137, allocations: 8.125 kB / 0.562 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3138, allocations: 53.67 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3138, allocations: 0 / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3139, allocations: 0 / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3139, allocations: 0 / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.3139, allocations: 27.92 kB / 0.5621 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3143, allocations: 248.5 kB / 0.5624 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3145, allocations: 46.69 kB / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.3145, allocations: 24.84 kB / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3145, allocations: 0 / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3147, allocations: 75.27 kB / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3147, allocations: 0 / 0.5625 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.3153, allocations: 193.3 kB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3153, allocations: 55.41 kB / 0.5627 GB, free: 2.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3156, allocations: 242.9 kB / 0.563 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.3156, allocations: 37.64 kB / 0.563 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.3157, allocations: 112.1 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3157, allocations: 23.84 kB / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.3158, allocations: 25.72 kB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3159, allocations: 326.8 kB / 0.5635 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.316, allocations: 23.98 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.212e-05/0.3161, allocations: 37.7 kB / 0.5635 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3162, allocations: 65.64 kB / 0.5636 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3162, allocations: 0 / 0.5636 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.3164, allocations: 101.6 kB / 0.5637 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3164, allocations: 7.984 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3164, allocations: 384 / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3164, allocations: 0 / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.3165, allocations: 23.94 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3165, allocations: 160 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3166, allocations: 4 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3166, allocations: 7.984 kB / 0.5637 GB, free: 1.641 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.0001215/0.3167, allocations: 136.9 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3167, allocations: 15.91 kB / 0.5639 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.317, allocations: 127 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.317, allocations: 4 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.317, allocations: 0 / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.317, allocations: 0 / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3175, allocations: 358.9 kB / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3175, allocations: 0 / 0.5643 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.3175, allocations: 8.031 kB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3175, allocations: 8 kB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3176, allocations: 3.984 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3176, allocations: 3.938 kB / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.3176, allocations: 7.938 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3179, allocations: 220.5 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3179, allocations: 15.84 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3179, allocations: 0 / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.318, allocations: 7.984 kB / 0.5646 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.318, allocations: 11.94 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.318, allocations: 3.984 kB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3182, allocations: 179.2 kB / 0.5648 GB, free: 484 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3182, allocations: 0 / 0.5648 GB, free: 484 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3185, allocations: 27.98 kB / 0.5648 GB, free: 456 kB / 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.001845/0.3203, allocations: 488.8 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3205, allocations: 63.89 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3205, allocations: 0 / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.3206, allocations: 31.92 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3209, allocations: 27.73 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.3215, allocations: 300.9 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3216, allocations: 104.9 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3217, allocations: 19.38 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3217, allocations: 3.938 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004077/0.3257, allocations: 2.079 MB / 0.5678 GB, free: 13.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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: 7.906303990166634]