Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002726/0.002726, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2392/0.2392, allocations: 46.94 MB / 361.4 MB, free: 4.402 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") [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.002349/0.002349, allocations: 79.88 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3679, allocations: 66.05 MB / 0.5617 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003273/0.3712, allocations: 1.675 MB / 0.5633 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3722, allocations: 0.5771 MB / 0.5639 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.3723, allocations: 4 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3726, allocations: 95.67 kB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3729, allocations: 111.6 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3732, allocations: 123.6 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.3734, allocations: 99.75 kB / 0.5643 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3735, allocations: 22.8 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.3736, allocations: 47.83 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3737, allocations: 67.8 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3737, allocations: 4 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.395e-05/0.3738, allocations: 43.98 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.3739, allocations: 31.84 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.374, allocations: 47.67 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3742, allocations: 131.1 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3742, allocations: 0 / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3742, allocations: 4 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3742, allocations: 0 / 0.5647 GB, free: 1.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006372/0.3748, allocations: 361.5 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3749, allocations: 8.031 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3749, allocations: 16.84 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3751, allocations: 166.7 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.3751, allocations: 384 / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3752, allocations: 8.375 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3753, allocations: 78.22 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3754, allocations: 4.141 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3754, allocations: 3.938 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3754, allocations: 4 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3755, allocations: 39.97 kB / 0.5653 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.376, allocations: 311.8 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3761, allocations: 66.53 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.3762, allocations: 28.84 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3762, allocations: 0 / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3762, allocations: 34.56 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.3762, allocations: 3.938 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001093/0.3773, allocations: 333.5 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3774, allocations: 55.34 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3776, allocations: 243.5 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3777, allocations: 29.69 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.3777, allocations: 120 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.3778, allocations: 43.64 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.3778, allocations: 29.72 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.378, allocations: 322.8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3781, allocations: 43.97 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3782, allocations: 43.97 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.3784, allocations: 116.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3784, allocations: 4 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002749/0.3787, allocations: 153.5 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3787, allocations: 8 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3787, allocations: 240 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3788, allocations: 3.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3789, allocations: 23.98 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3789, allocations: 7.922 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.3789, allocations: 7.984 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3789, allocations: 8 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001468/0.3791, allocations: 149.8 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3791, allocations: 11.91 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.3795, allocations: 183 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3796, allocations: 0 / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3796, allocations: 3.938 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3796, allocations: 4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.3803, allocations: 486.1 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3803, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.3804, allocations: 23.98 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3804, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3804, allocations: 8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.3804, allocations: 3.984 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3804, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.3808, allocations: 267.3 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.3809, allocations: 11.91 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3809, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.381, allocations: 11.98 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.381, allocations: 7.984 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.381, allocations: 8 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3812, allocations: 189.1 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.3815, allocations: 27.94 kB / 0.5686 GB, free: 13.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001752/0.3832, allocations: 443.3 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3835, allocations: 107.9 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3835, allocations: 0 / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3837, allocations: 59.89 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.384, allocations: 27.84 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.3847, allocations: 331.8 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.385, allocations: 0.7236 MB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.964e-05/0.3851, allocations: 32.41 kB / 0.5703 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.3851, allocations: 19.44 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3851, allocations: 3.938 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.005031/0.3902, allocations: 1.683 MB / 0.572 GB, free: 9.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.211039444431663]