Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.002078/0.002078, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.002705/0.002705, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.573/1.573, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2325/0.2325, allocations: 44.91 MB / 359.6 MB, free: 6.375 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.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002205/0.002205, allocations: 63.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003451/0.3714, allocations: 1.643 MB / 0.5599 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3737, allocations: 1.263 MB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3738, allocations: 4 kB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.374, allocations: 19.86 kB / 0.5611 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3743, allocations: 87.61 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3746, allocations: 91.7 kB / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3748, allocations: 79.77 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3749, allocations: 14.66 kB / 0.5614 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.375, allocations: 27.91 kB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3751, allocations: 43.72 kB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3751, allocations: 4 kB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.3753, allocations: 103.9 kB / 0.5616 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.3754, allocations: 19.97 kB / 0.5616 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.3754, allocations: 23.81 kB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3757, allocations: 155.1 kB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3757, allocations: 4 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3757, allocations: 0 / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3757, allocations: 0 / 0.5617 GB, free: 4.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006405/0.3764, allocations: 343.8 kB / 0.5621 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3764, allocations: 8.031 kB / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3764, allocations: 8.891 kB / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3766, allocations: 137.1 kB / 0.5622 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3767, allocations: 384 / 0.5622 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3767, allocations: 8.375 kB / 0.5622 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3769, allocations: 83.44 kB / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3769, allocations: 0 / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3769, allocations: 3.984 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3769, allocations: 4 kB / 0.5623 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.377, allocations: 31.97 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.3775, allocations: 275.8 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3776, allocations: 50.5 kB / 0.5627 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3776, allocations: 20.97 kB / 0.5627 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3777, allocations: 0 / 0.5627 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3777, allocations: 34.56 kB / 0.5627 GB, free: 3.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3777, allocations: 0 / 0.5627 GB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006975/0.3784, allocations: 181.5 kB / 0.5629 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3785, allocations: 81.11 kB / 0.563 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.3787, allocations: 157.5 kB / 0.5631 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3787, allocations: 25.7 kB / 0.5631 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.3788, allocations: 100.1 kB / 0.5632 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3788, allocations: 31.73 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3789, allocations: 21.72 kB / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.3791, allocations: 322.8 kB / 0.5636 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3792, allocations: 23.98 kB / 0.5636 GB, free: 2.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3794, allocations: 37.64 kB / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3796, allocations: 61.06 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3796, allocations: 4.031 kB / 0.5637 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.3798, allocations: 109.6 kB / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3798, allocations: 4 kB / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3798, allocations: 0 / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3798, allocations: 0 / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.38, allocations: 27.86 kB / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.38, allocations: 0 / 0.5638 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.38, allocations: 7.938 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.38, allocations: 4.359 kB / 0.5639 GB, free: 1.793 MB / 398.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.0001179/0.3801, allocations: 125.8 kB / 0.564 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3802, allocations: 7.953 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.3805, allocations: 114.3 kB / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3805, allocations: 0 / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.3805, allocations: 4 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3805, allocations: 3.938 kB / 0.5641 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.381, allocations: 369.5 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.381, allocations: 0 / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.3811, allocations: 15.98 kB / 0.5645 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3811, allocations: 3.938 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3811, allocations: 4 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3811, allocations: 0 / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3811, allocations: 3.938 kB / 0.5645 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3814, allocations: 195.7 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.3814, allocations: 7.953 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3814, allocations: 11.92 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.3815, allocations: 4 kB / 0.5647 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.3815, allocations: 7.922 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.3815, allocations: 8 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3817, allocations: 117.6 kB / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3817, allocations: 0 / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.382, allocations: 43.88 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001813/0.3838, allocations: 0.4952 MB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.384, allocations: 63.89 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.384, allocations: 0 / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.3841, allocations: 35.92 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3845, allocations: 15.98 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.385, allocations: 227.5 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3854, allocations: 0.6924 MB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.3855, allocations: 23.42 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3855, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Templates: time 0.004944/0.3904, allocations: 2.092 MB / 0.5684 GB, free: 13.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.203608023934066]