Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001513/0.001513, 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.00164/0.00164, allocations: 211.8 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2356/0.2356, allocations: 46.96 MB / 360.9 MB, free: 4.02 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+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.CombiTable1Ds.Test6,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_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.91 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003291/0.3803, allocations: 1.64 MB / 0.5627 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3814, allocations: 0.5231 MB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.3815, allocations: 0 / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3818, allocations: 103.7 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3821, allocations: 115.6 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.3824, allocations: 103.2 kB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3826, allocations: 95.75 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3827, allocations: 23.64 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.3828, allocations: 39.89 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3829, allocations: 71.73 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3829, allocations: 4 kB / 0.5638 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.383, allocations: 47.98 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.3831, allocations: 27.91 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3831, allocations: 35.73 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3834, allocations: 122.1 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3834, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3834, allocations: 3.938 kB / 0.564 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3834, allocations: 0 / 0.564 GB, free: 1.195 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005539/0.3839, allocations: 361.5 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.384, allocations: 12.03 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.384, allocations: 16.84 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3842, allocations: 154.2 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3842, allocations: 12.38 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3843, allocations: 4.375 kB / 0.5645 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3844, allocations: 69.8 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3845, allocations: 7.891 kB / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3845, allocations: 0 / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3845, allocations: 4 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3846, allocations: 43.89 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.385, allocations: 268.4 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3851, allocations: 62.56 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.3852, allocations: 21 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3852, allocations: 4 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3853, allocations: 34.55 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3853, allocations: 0 / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001074/0.3863, allocations: 309.6 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3864, allocations: 59.34 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.3867, allocations: 231.6 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3867, allocations: 25.7 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.3867, allocations: 116 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.3868, allocations: 47.62 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.3868, allocations: 33.7 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.387, allocations: 326.8 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.3871, allocations: 35.98 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.3872, allocations: 35.97 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3874, allocations: 84.83 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3874, allocations: 7.938 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000265/0.3876, allocations: 133.6 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3876, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3876, allocations: 4 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3877, allocations: 7.984 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3878, allocations: 28.09 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3878, allocations: 11.86 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.3878, allocations: 4 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3879, allocations: 4 kB / 0.5664 GB, free: 14.48 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.0001142/0.388, allocations: 134.3 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.388, allocations: 15.91 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.3884, allocations: 174.9 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3884, allocations: 0 / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3884, allocations: 3.938 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3884, allocations: 0 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.389, allocations: 402.8 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.389, allocations: 7.938 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.3891, allocations: 23.98 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3891, allocations: 32 / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3891, allocations: 12 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3891, allocations: 0 / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3891, allocations: 3.938 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3895, allocations: 244.2 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.3895, allocations: 19.78 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3895, allocations: 0 / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.3896, allocations: 8 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3896, allocations: 11.97 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.3896, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3898, allocations: 189.1 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3901, allocations: 27.92 kB / 0.5677 GB, free: 13.15 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.001941/0.392, allocations: 493.3 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.3923, allocations: 91.83 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3923, allocations: 0 / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3924, allocations: 55.91 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3928, allocations: 31.8 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3934, allocations: 299.8 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.3935, allocations: 113.6 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.3936, allocations: 20.48 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.3936, allocations: 23.42 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3936, allocations: 0 / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005031/0.3987, allocations: 1.609 MB / 0.5703 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.339005131274462]