Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001279/0.001279, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001415/0.001415, allocations: 212.5 kB / 25.13 MB, free: 3.605 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.481/1.481, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2296/0.2296, allocations: 46.95 MB / 362.1 MB, free: 4.188 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-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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002424/0.002424, allocations: 83.86 kB / 0.4978 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3629, allocations: 66.07 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003399/0.3663, allocations: 1.636 MB / 0.5639 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3685, allocations: 1.263 MB / 0.5652 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.3686, allocations: 3.938 kB / 0.5652 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.3689, allocations: 19.84 kB / 0.5652 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.3693, allocations: 87.61 kB / 0.5653 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3696, allocations: 103.6 kB / 0.5654 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3698, allocations: 79.77 kB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3699, allocations: 15.64 kB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.3699, allocations: 27.92 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.3703, allocations: 39.78 kB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3704, allocations: 4 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3706, allocations: 95.88 kB / 0.5656 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.3706, allocations: 15.98 kB / 0.5656 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3707, allocations: 27.8 kB / 0.5657 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.371, allocations: 146.3 kB / 0.5658 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.371, allocations: 0 / 0.5658 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.371, allocations: 4 kB / 0.5658 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.371, allocations: 0 / 0.5658 GB, free: 0.6758 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.0005917/0.3716, allocations: 349.5 kB / 0.5661 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3716, allocations: 12.03 kB / 0.5662 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3717, allocations: 8.891 kB / 0.5662 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.3719, allocations: 130.5 kB / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3719, allocations: 4.375 kB / 0.5663 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3719, allocations: 4.359 kB / 0.5663 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3721, allocations: 101.7 kB / 0.5664 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3721, allocations: 192 / 0.5664 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.3722, allocations: 8.141 kB / 0.5664 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3722, allocations: 0 / 0.5664 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3723, allocations: 35.91 kB / 0.5664 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.3728, allocations: 271.8 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3729, allocations: 54.5 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.3729, allocations: 24.91 kB / 0.5668 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.373, allocations: 0 / 0.5668 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.373, allocations: 34.56 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.373, allocations: 0 / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006906/0.3737, allocations: 177.4 kB / 0.567 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.3738, allocations: 77.11 kB / 0.567 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.374, allocations: 159.6 kB / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.374, allocations: 25.7 kB / 0.5672 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.3741, allocations: 104 kB / 0.5673 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3741, allocations: 23.81 kB / 0.5673 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3741, allocations: 25.7 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3743, allocations: 330.7 kB / 0.5677 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.3744, allocations: 23.98 kB / 0.5677 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3745, allocations: 67.47 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3747, allocations: 60.83 kB / 0.5678 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3747, allocations: 0 / 0.5678 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002324/0.3749, allocations: 105.8 kB / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3749, allocations: 4 kB / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3749, allocations: 4 kB / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3749, allocations: 0 / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3751, allocations: 19.98 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3751, allocations: 0 / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.3751, allocations: 4.375 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3751, allocations: 7.984 kB / 0.568 GB, free: 14.24 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.0001092/0.3752, allocations: 121.8 kB / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3753, allocations: 7.953 kB / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3756, allocations: 126.2 kB / 0.5682 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3756, allocations: 0 / 0.5682 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3756, allocations: 4 kB / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3756, allocations: 0 / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.3761, allocations: 361.4 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3761, allocations: 4 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.3762, allocations: 19.98 kB / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3762, allocations: 4 kB / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3762, allocations: 0 / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3762, allocations: 3.938 kB / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3762, allocations: 0 / 0.5686 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3765, allocations: 203.4 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.3765, allocations: 7.953 kB / 0.5688 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3765, allocations: 7.984 kB / 0.5688 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.3766, allocations: 11.88 kB / 0.5688 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3766, allocations: 3.984 kB / 0.5688 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3766, allocations: 4 kB / 0.5688 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3768, allocations: 117.9 kB / 0.5689 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3768, allocations: 0 / 0.5689 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.3771, allocations: 43.88 kB / 0.569 GB, free: 13.12 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 (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.00181/0.3789, allocations: 491.5 kB / 0.5694 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3791, allocations: 71.88 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3791, allocations: 0 / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.3792, allocations: 27.98 kB / 0.5695 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3796, allocations: 22.52 kB / 0.5696 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.3802, allocations: 201.8 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3805, allocations: 0.6963 MB / 0.5704 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.3806, allocations: 16.95 kB / 0.5704 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.3807, allocations: 23.36 kB / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3807, allocations: 0 / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005355/0.386, allocations: 1.873 MB / 0.5723 GB, free: 9.828 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.978928200900555]