Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001589/0.001589, allocations: 107.6 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.001985/0.001985, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.239/0.239, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 66.05 MB / 0.5619 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00341/0.3619, allocations: 1.698 MB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3637, allocations: 0.9637 MB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.3637, allocations: 11.94 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.364, allocations: 35.83 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.3644, allocations: 103.5 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3646, allocations: 79.67 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3648, allocations: 107.7 kB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.3649, allocations: 4 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.3649, allocations: 43.73 kB / 0.5649 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.365, allocations: 43.77 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.365, allocations: 7.938 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3651, allocations: 39.98 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.3652, allocations: 23.92 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.3653, allocations: 27.8 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3655, allocations: 125.9 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3655, allocations: 3.984 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3655, allocations: 0 / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3655, allocations: 0 / 0.5651 GB, free: 0.8359 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.0005993/0.3661, allocations: 349.5 kB / 0.5655 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3661, allocations: 8.031 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3662, allocations: 12.88 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3665, allocations: 155 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3665, allocations: 4.375 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3665, allocations: 8.125 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3667, allocations: 49.67 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3667, allocations: 7.984 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3667, allocations: 4 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3667, allocations: 0 / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.3668, allocations: 19.98 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3672, allocations: 236.5 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3674, allocations: 54.67 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3675, allocations: 28.84 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.3675, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3676, allocations: 71.33 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3676, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.3682, allocations: 185.3 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3683, allocations: 51.41 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.3685, allocations: 198.3 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3685, allocations: 29.7 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3686, allocations: 108.1 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3686, allocations: 31.78 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.3687, allocations: 17.72 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3688, allocations: 330.8 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.3689, allocations: 19.98 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.369, allocations: 45.64 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3691, allocations: 65.62 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3691, allocations: 0 / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3693, allocations: 105.6 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3693, allocations: 10.22 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3693, allocations: 0 / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3694, allocations: 0 / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.3694, allocations: 23.88 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3695, allocations: 0 / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3695, allocations: 7.984 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3695, allocations: 4.156 kB / 0.5673 GB, free: 14.46 MB / 414.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.0001193/0.3696, allocations: 128.6 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3697, allocations: 11.91 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.3699, allocations: 131 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.37, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.37, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.37, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.3704, allocations: 346.9 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3704, allocations: 0 / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.3705, allocations: 15.98 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3705, allocations: 384 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.3705, allocations: 0 / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.3705, allocations: 11.94 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3705, allocations: 7.969 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3708, allocations: 216.2 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.3708, allocations: 11.95 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3708, allocations: 0 / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.3709, allocations: 0 / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3709, allocations: 11.92 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.371, allocations: 8 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.3711, allocations: 156.6 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3714, allocations: 23.94 kB / 0.5683 GB, free: 13.31 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.001905/0.3733, allocations: 497.4 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3735, allocations: 59.92 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3735, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3736, allocations: 31.98 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.374, allocations: 35.89 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.3746, allocations: 272.4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3747, allocations: 88.19 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3747, allocations: 15.44 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3747, allocations: 0 / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of Templates: time 0.00438/0.3791, allocations: 1.998 MB / 0.5712 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.208552027994301]