Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001739/0.001739, 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.002052/0.002052, allocations: 213.9 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2625/0.2625, allocations: 44.93 MB / 358.8 MB, free: 6.07 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [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.002023/0.002023, allocations: 71.89 kB / 0.4936 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3808, allocations: 65.47 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003666/0.3844, allocations: 1.705 MB / 0.5592 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3874, allocations: 1.661 MB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.3875, allocations: 4 kB / 0.5608 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3878, allocations: 39.77 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.3883, allocations: 103.5 kB / 0.5609 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3885, allocations: 75.72 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3887, allocations: 103.6 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3888, allocations: 11.98 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.3889, allocations: 47.78 kB / 0.5612 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.389, allocations: 47.77 kB / 0.5612 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3891, allocations: 4 kB / 0.5612 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.3893, allocations: 103.9 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.3893, allocations: 23.91 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.3894, allocations: 23.86 kB / 0.5614 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3897, allocations: 173.8 kB / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3897, allocations: 0 / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3897, allocations: 3.938 kB / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.3897, allocations: 0 / 0.5615 GB, free: 3.324 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.00067/0.3904, allocations: 351.2 kB / 0.5619 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3904, allocations: 8.031 kB / 0.5619 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.3905, allocations: 16.84 kB / 0.5619 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3908, allocations: 150.9 kB / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3908, allocations: 7.922 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3909, allocations: 8 kB / 0.5621 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3911, allocations: 97.09 kB / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3911, allocations: 0 / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3911, allocations: 0 / 0.5621 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3911, allocations: 7.922 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.3912, allocations: 19.98 kB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3916, allocations: 236.5 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3918, allocations: 54.67 kB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.3919, allocations: 32.72 kB / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3919, allocations: 0 / 0.5625 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.392, allocations: 67.39 kB / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.392, allocations: 0 / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000644/0.3927, allocations: 173.3 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3928, allocations: 85.11 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.393, allocations: 175.7 kB / 0.563 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.393, allocations: 29.7 kB / 0.563 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.3931, allocations: 100.1 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3931, allocations: 35.72 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3932, allocations: 25.72 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3933, allocations: 322.8 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.3934, allocations: 19.98 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3935, allocations: 72.27 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3936, allocations: 57.64 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3936, allocations: 4.031 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002205/0.3938, allocations: 101.6 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3939, allocations: 11.98 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3939, allocations: 0 / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3939, allocations: 0 / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.394, allocations: 12 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.394, allocations: 4 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.3941, allocations: 7.922 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3941, allocations: 8 kB / 0.5637 GB, free: 0.8594 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.0001374/0.3942, allocations: 121.9 kB / 0.5639 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3942, allocations: 8.328 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.3945, allocations: 118.3 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3945, allocations: 0 / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3945, allocations: 0 / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3945, allocations: 7.938 kB / 0.564 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.3951, allocations: 346.9 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3951, allocations: 0 / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.3951, allocations: 19.92 kB / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3951, allocations: 4 kB / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3951, allocations: 7.969 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3951, allocations: 0 / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3951, allocations: 8.172 kB / 0.5644 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.3954, allocations: 212.5 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.3954, allocations: 19.89 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3955, allocations: 7.938 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3955, allocations: 0 / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.3956, allocations: 7.984 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3956, allocations: 8 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3957, allocations: 127.2 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3957, allocations: 4 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.3961, allocations: 47.86 kB / 0.5648 GB, free: 15.73 MB / 414.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.002241/0.3983, allocations: 0.5816 MB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.3986, allocations: 63.89 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3986, allocations: 4.062 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.3987, allocations: 32.08 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.399, allocations: 37.72 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.3996, allocations: 206.7 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3997, allocations: 85.31 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.3998, allocations: 24.95 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3999, allocations: 23.42 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3999, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Templates: time 0.006413/0.4063, allocations: 2.527 MB / 0.5683 GB, free: 12.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.422937193885446]