Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001388/0.001388, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001926/0.001926, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 8 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.2446/0.2446, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002433/0.002433, allocations: 63.91 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3811, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003505/0.3846, allocations: 1.781 MB / 0.5601 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3865, allocations: 1.053 MB / 0.5611 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.3866, allocations: 3.938 kB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.3869, allocations: 107.7 kB / 0.5612 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.3872, allocations: 123.5 kB / 0.5613 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3874, allocations: 87.66 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3876, allocations: 135.6 kB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3877, allocations: 7.984 kB / 0.5615 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3878, allocations: 63.75 kB / 0.5616 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3879, allocations: 71.8 kB / 0.5617 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3879, allocations: 7.938 kB / 0.5617 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3881, allocations: 63.98 kB / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.3881, allocations: 31.89 kB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.3882, allocations: 55.5 kB / 0.5618 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3884, allocations: 157.7 kB / 0.562 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3884, allocations: 0 / 0.562 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3884, allocations: 0 / 0.562 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3884, allocations: 0 / 0.562 GB, free: 3.961 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005625/0.389, allocations: 393.2 kB / 0.5623 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.389, allocations: 8.031 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.3891, allocations: 24.84 kB / 0.5624 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.3894, allocations: 171.1 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3894, allocations: 4.375 kB / 0.5625 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3894, allocations: 12.12 kB / 0.5625 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3896, allocations: 61.66 kB / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3896, allocations: 0 / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3896, allocations: 0 / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3896, allocations: 4 kB / 0.5626 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.3897, allocations: 35.91 kB / 0.5626 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.3901, allocations: 295.8 kB / 0.5629 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.3903, allocations: 62.55 kB / 0.563 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.3904, allocations: 24.94 kB / 0.563 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3904, allocations: 3.938 kB / 0.563 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3906, allocations: 83.53 kB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3906, allocations: 0 / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007595/0.3913, allocations: 273.7 kB / 0.5634 GB, free: 2.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3914, allocations: 55.34 kB / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3916, allocations: 255.8 kB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3917, allocations: 29.7 kB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.3918, allocations: 116.1 kB / 0.5638 GB, free: 1.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.3918, allocations: 39.7 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3918, allocations: 29.7 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.392, allocations: 326.8 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.3921, allocations: 31.98 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-05/0.3922, allocations: 61.62 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3923, allocations: 89.7 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3923, allocations: 0 / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002653/0.3926, allocations: 141.5 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3926, allocations: 4 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.3926, allocations: 4.016 kB / 0.5645 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3926, allocations: 4 kB / 0.5645 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.3927, allocations: 19.98 kB / 0.5645 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3927, allocations: 11.92 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3928, allocations: 7.953 kB / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3928, allocations: 4 kB / 0.5645 GB, free: 1.121 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 (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 0.000126/0.3929, allocations: 141.8 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3929, allocations: 15.91 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.3933, allocations: 162.9 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3933, allocations: 0 / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3933, allocations: 3.938 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3933, allocations: 7.969 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.3939, allocations: 455 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3939, allocations: 4 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.3939, allocations: 19.98 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3939, allocations: 0 / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.394, allocations: 7.938 kB / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.394, allocations: 0 / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.394, allocations: 0 / 0.5653 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3943, allocations: 249.2 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.3943, allocations: 15.84 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3943, allocations: 7.938 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.3944, allocations: 7.984 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3945, allocations: 11.92 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3945, allocations: 8 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3947, allocations: 189.5 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3947, allocations: 4 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3949, allocations: 35.92 kB / 0.5658 GB, free: 15.71 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.001887/0.3968, allocations: 0.501 MB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.397, allocations: 87.78 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.397, allocations: 0 / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.3971, allocations: 44.05 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3975, allocations: 47.67 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.3981, allocations: 342.2 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3985, allocations: 0.7201 MB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3985, allocations: 23.42 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3985, allocations: 0 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.004548/0.4031, allocations: 2.431 MB / 0.5699 GB, free: 11.67 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.085171960992739]