Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001464/0.001464, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001611/0.001611, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.504/1.504, allocations: 230.2 MB / 257.8 MB, free: 8.543 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.2386/0.2386, allocations: 46.89 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") [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.002447/0.002447, allocations: 80.19 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3751, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003079/0.3782, allocations: 1.623 MB / 0.5628 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3793, allocations: 0.5566 MB / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.3793, allocations: 0 / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.3799, allocations: 447.2 kB / 0.5638 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.3804, allocations: 295.3 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.3807, allocations: 119.7 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3809, allocations: 163.6 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.381, allocations: 8.188 kB / 0.5643 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3811, allocations: 111.8 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3814, allocations: 251.5 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3814, allocations: 0 / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.3815, allocations: 27.97 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3816, allocations: 79.7 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.3817, allocations: 95 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.3821, allocations: 261.5 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3821, allocations: 3.984 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3821, allocations: 0 / 0.5651 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3821, allocations: 0 / 0.5651 GB, free: 1.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008099/0.3829, allocations: 0.649 MB / 0.5658 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3829, allocations: 8.031 kB / 0.5658 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.383, allocations: 44.66 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3834, allocations: 296.8 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-06/0.3834, allocations: 384 / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3834, allocations: 4.375 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3835, allocations: 50.98 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3835, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3835, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3835, allocations: 4 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.3836, allocations: 35.91 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3841, allocations: 376.8 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.3842, allocations: 30.56 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.3843, allocations: 16.86 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3843, allocations: 4 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3843, allocations: 38.5 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3843, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002678/0.3846, allocations: 97.39 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3846, allocations: 51.41 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.3855, allocations: 0.8653 MB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3856, allocations: 25.7 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3858, allocations: 220.2 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3858, allocations: 15.89 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3858, allocations: 17.7 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.386, allocations: 362.7 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.386, allocations: 11.98 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.3861, allocations: 8 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.3862, allocations: 28.78 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3862, allocations: 4.062 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.3863, allocations: 89.41 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3863, allocations: 4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3863, allocations: 0 / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3864, allocations: 4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.3864, allocations: 7.984 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3864, allocations: 0 / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.3865, allocations: 0 / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3865, allocations: 4 kB / 0.5684 GB, free: 13.45 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 (2): * Single equations (assignments): 2 * 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.0002142/0.3867, allocations: 213.7 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.3868, allocations: 47.66 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.387, allocations: 108.6 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.387, allocations: 0 / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.387, allocations: 0 / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.387, allocations: 0 / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.3873, allocations: 281.5 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3873, allocations: 0 / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.3873, allocations: 12.02 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3873, allocations: 4 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3873, allocations: 0 / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3873, allocations: 0 / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3874, allocations: 3.938 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3876, allocations: 191.1 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.3877, allocations: 112.8 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3877, allocations: 8.031 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.3878, allocations: 4 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.3878, allocations: 0 / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3878, allocations: 4 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.3885, allocations: 0.655 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3885, allocations: 0 / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.3887, allocations: 19.95 kB / 0.57 GB, free: 11.71 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001293/0.39, allocations: 339 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3902, allocations: 27.92 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3902, allocations: 3.938 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.3902, allocations: 16 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3906, allocations: 32.34 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3918, allocations: 0.7827 MB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.3923, allocations: 0.8182 MB / 0.5719 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.3923, allocations: 11.73 kB / 0.572 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3923, allocations: 15.42 kB / 0.572 GB, free: 9.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3923, allocations: 0 / 0.572 GB, free: 9.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004755/0.3971, allocations: 1.261 MB / 0.5732 GB, free: 8.473 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.253065196797252]