Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 216.1 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2327/0.2327, allocations: 46.89 MB / 359.9 MB, free: 5.02 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 79.88 kB / 0.4951 GB, free: 8.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3719, allocations: 65.98 MB / 0.5595 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004132/0.376, allocations: 1.728 MB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.378, allocations: 1.041 MB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.3781, allocations: 0 / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3784, allocations: 55.75 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.3787, allocations: 91.61 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.379, allocations: 83.66 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3792, allocations: 99.69 kB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3793, allocations: 15.92 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.3794, allocations: 35.86 kB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.3795, allocations: 39.72 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3795, allocations: 8 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3796, allocations: 43.97 kB / 0.5626 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.3797, allocations: 23.92 kB / 0.5627 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.398e-05/0.3798, allocations: 35.69 kB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.38, allocations: 142 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.38, allocations: 0 / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.38, allocations: 0 / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3801, allocations: 0 / 0.5628 GB, free: 1.895 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.0007063/0.3808, allocations: 434.6 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3808, allocations: 12.03 kB / 0.5633 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.3809, allocations: 12.89 kB / 0.5633 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.3812, allocations: 229.7 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3812, allocations: 384 / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.3813, allocations: 12.11 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3815, allocations: 61.61 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3815, allocations: 0 / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3815, allocations: 0 / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3815, allocations: 3.938 kB / 0.5636 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.3816, allocations: 19.98 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.382, allocations: 300.8 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3822, allocations: 54.61 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.3822, allocations: 16.86 kB / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3823, allocations: 4 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3824, allocations: 71.38 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3824, allocations: 0 / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006011/0.383, allocations: 173.4 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3831, allocations: 55.41 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.3833, allocations: 235 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3834, allocations: 33.7 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3835, allocations: 108.1 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3835, allocations: 27.8 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3835, allocations: 21.72 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3837, allocations: 334.8 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.3838, allocations: 20 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.3838, allocations: 37.64 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3839, allocations: 57.89 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3839, allocations: 0 / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002161/0.3842, allocations: 113.5 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3842, allocations: 7.984 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3842, allocations: 4 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3842, allocations: 0 / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.3843, allocations: 12 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3843, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3844, allocations: 11.92 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3844, allocations: 4 kB / 0.5652 GB, free: 15.22 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.0001158/0.3845, allocations: 133.8 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3845, allocations: 15.89 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.3848, allocations: 111.1 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3848, allocations: 3.984 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3848, allocations: 384 / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3848, allocations: 3.938 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.3852, allocations: 399.6 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3853, allocations: 7.938 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.3853, allocations: 11.98 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3853, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3853, allocations: 11.94 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3853, allocations: 80 / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3853, allocations: 3.984 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.3856, allocations: 204.3 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3856, allocations: 89.02 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3856, allocations: 15.92 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.3857, allocations: 0 / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.3857, allocations: 4 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.3858, allocations: 7.984 kB / 0.5662 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3859, allocations: 172.4 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3859, allocations: 0 / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3862, allocations: 31.92 kB / 0.5664 GB, free: 13.9 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 (8): * Single equations (assignments): 6 * 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.001776/0.388, allocations: 461.6 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3882, allocations: 55.97 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3882, allocations: 4.062 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.3883, allocations: 27.92 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3887, allocations: 38.66 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/0.3893, allocations: 288.8 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3896, allocations: 0.708 MB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.3897, allocations: 27.44 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3897, allocations: 0 / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Templates: time 0.004421/0.3941, allocations: 2.03 MB / 0.5699 GB, free: 10.38 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches