Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001388/0.001388, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001568/0.001568, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.524/1.524, 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.2269/0.2269, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [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.002156/0.002156, allocations: 67.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 65.48 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003826/0.3715, allocations: 1.652 MB / 0.5591 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3727, allocations: 0.5426 MB / 0.5596 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.3728, allocations: 0 / 0.5596 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.3734, allocations: 455.2 kB / 0.5601 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007052/0.3741, allocations: 295.3 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.3746, allocations: 139.1 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.3749, allocations: 175.6 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.3751, allocations: 11.98 kB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3753, allocations: 111.7 kB / 0.5608 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.3756, allocations: 255.5 kB / 0.561 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3757, allocations: 4 kB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3758, allocations: 47.98 kB / 0.561 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.376, allocations: 83.69 kB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3761, allocations: 75.17 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.3766, allocations: 281 kB / 0.5615 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.3766, allocations: 0 / 0.5615 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3766, allocations: 4 kB / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3766, allocations: 0 / 0.5615 GB, free: 3.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009546/0.3776, allocations: 0.5854 MB / 0.562 GB, free: 2.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3776, allocations: 8.031 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3777, allocations: 44.66 kB / 0.5621 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3781, allocations: 250.7 kB / 0.5623 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3781, allocations: 4.375 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3781, allocations: 4.375 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3783, allocations: 65.73 kB / 0.5624 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3783, allocations: 4 kB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3784, allocations: 4 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3784, allocations: 0 / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3785, allocations: 27.98 kB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.379, allocations: 336.3 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3791, allocations: 46.53 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.3792, allocations: 20.8 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3792, allocations: 0 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.3792, allocations: 38.59 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3792, allocations: 0 / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001/0.3802, allocations: 316.6 kB / 0.5632 GB, free: 1.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3803, allocations: 51.41 kB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.3812, allocations: 0.8613 MB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3812, allocations: 25.7 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3814, allocations: 224 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3815, allocations: 23.81 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.3815, allocations: 25.7 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3817, allocations: 358.8 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.692e-05/0.3818, allocations: 23.98 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.3819, allocations: 28.05 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.382, allocations: 60.98 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.382, allocations: 3.984 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002646/0.3823, allocations: 145.3 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3823, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3823, allocations: 0 / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3823, allocations: 0 / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3825, allocations: 19.98 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3825, allocations: 3.938 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.3825, allocations: 7.984 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.3825, allocations: 0 / 0.565 GB, free: 15.59 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 (8): * Single equations (assignments): 8 * 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.0002285/0.3828, allocations: 213.8 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.3828, allocations: 47.67 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.3832, allocations: 169.3 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3832, allocations: 0 / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3832, allocations: 7.922 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3832, allocations: 0 / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.3839, allocations: 446.9 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3839, allocations: 0 / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.384, allocations: 15.98 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.384, allocations: 7.938 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.384, allocations: 4 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.384, allocations: 0 / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.384, allocations: 3.938 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3843, allocations: 236.1 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.3844, allocations: 39.67 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.3844, allocations: 7.969 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.3845, allocations: 7.984 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.3846, allocations: 8 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.3846, allocations: 7.938 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007059/0.3853, allocations: 0.6511 MB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3853, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3856, allocations: 24 kB / 0.5668 GB, free: 13.64 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 (8): * Single equations (assignments): 8 * 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.002024/0.3876, allocations: 0.4895 MB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3878, allocations: 67.94 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3878, allocations: 0 / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/0.3879, allocations: 35.92 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.3884, allocations: 30.02 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3897, allocations: 0.823 MB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.39, allocations: 216.2 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.3901, allocations: 12.97 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3901, allocations: 19.44 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3901, allocations: 0 / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.006157/0.3963, allocations: 1.912 MB / 0.5703 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.207925686612725]