Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001701/0.001701, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002203/0.002203, allocations: 209 kB / 24.48 MB, free: 3.938 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.227/0.227, allocations: 44.93 MB / 359.6 MB, free: 6.074 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [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.002335/0.002335, allocations: 75.88 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3694, allocations: 65.47 MB / 0.5582 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003234/0.3726, allocations: 1.648 MB / 0.5598 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3738, allocations: 0.5388 MB / 0.5603 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.3738, allocations: 0 / 0.5603 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3741, allocations: 35.78 kB / 0.5604 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3744, allocations: 83.67 kB / 0.5605 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3747, allocations: 115.7 kB / 0.5606 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3749, allocations: 91.75 kB / 0.5607 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.375, allocations: 26.64 kB / 0.5607 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.3751, allocations: 31.86 kB / 0.5607 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.3752, allocations: 43.77 kB / 0.5608 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3752, allocations: 4 kB / 0.5608 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3753, allocations: 51.92 kB / 0.5608 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.3754, allocations: 19.94 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.3755, allocations: 31.78 kB / 0.5609 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3757, allocations: 103.3 kB / 0.561 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3757, allocations: 0 / 0.561 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3757, allocations: 0 / 0.561 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3757, allocations: 0 / 0.561 GB, free: 4.699 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.0005566/0.3762, allocations: 349.6 kB / 0.5613 GB, free: 4.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3763, allocations: 8.031 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.3763, allocations: 12.84 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.3765, allocations: 138.4 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3765, allocations: 4.375 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3766, allocations: 16.31 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3768, allocations: 89.66 kB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3768, allocations: 0 / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3768, allocations: 0 / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3768, allocations: 0 / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3769, allocations: 47.91 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3774, allocations: 272.4 kB / 0.5619 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3775, allocations: 62.5 kB / 0.5619 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.3776, allocations: 28.84 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3776, allocations: 0 / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3776, allocations: 38.55 kB / 0.562 GB, free: 3.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3776, allocations: 0 / 0.562 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0011/0.3787, allocations: 321.3 kB / 0.5623 GB, free: 3.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3788, allocations: 59.34 kB / 0.5623 GB, free: 3.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.379, allocations: 164.6 kB / 0.5625 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.379, allocations: 25.7 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.379, allocations: 108 kB / 0.5626 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.3791, allocations: 39.66 kB / 0.5627 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.3792, allocations: 29.7 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3794, allocations: 326.8 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3795, allocations: 43.97 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3797, allocations: 52.09 kB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.38, allocations: 108.8 kB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.38, allocations: 0 / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002963/0.3803, allocations: 149.5 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3803, allocations: 7.984 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3803, allocations: 7.938 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3803, allocations: 3.938 kB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3804, allocations: 27.92 kB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3804, allocations: 4 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.3805, allocations: 4 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3805, allocations: 4 kB / 0.5634 GB, free: 2.031 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 (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.0001189/0.3806, allocations: 125.8 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.3806, allocations: 11.94 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.3811, allocations: 202.6 kB / 0.5637 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3811, allocations: 4 kB / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3811, allocations: 0 / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3811, allocations: 7.984 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.3818, allocations: 418.8 kB / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3818, allocations: 0 / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.3818, allocations: 27.92 kB / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3819, allocations: 0 / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3819, allocations: 8 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3819, allocations: 0 / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3819, allocations: 0 / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.3822, allocations: 272.2 kB / 0.5644 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3822, allocations: 7.953 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3823, allocations: 0 / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.3823, allocations: 8 kB / 0.5644 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.3824, allocations: 11.97 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3824, allocations: 4 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3825, allocations: 127.2 kB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3825, allocations: 0 / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3828, allocations: 31.88 kB / 0.5646 GB, free: 0.7148 MB / 398.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.00192/0.3847, allocations: 484.5 kB / 0.5651 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.385, allocations: 115.4 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.385, allocations: 4 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3851, allocations: 59.89 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.3855, allocations: 17.28 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.3862, allocations: 301.1 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3863, allocations: 88.75 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3863, allocations: 31.48 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3863, allocations: 0 / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.004363/0.3907, allocations: 2.049 MB / 0.5677 GB, free: 13.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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: 7.980384773109108]