Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.005229/0.005229, allocations: 109.9 kB / 21.98 MB, free: 5.184 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.001401/0.001401, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.432/1.432, allocations: 230.5 MB / 258.9 MB, free: 8.035 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.2415/0.2415, allocations: 46.93 MB / 362.3 MB, free: 4.324 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3") [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.00233/0.00233, allocations: 79.86 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3382, allocations: 66.07 MB / 0.5628 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003253/0.3415, allocations: 1.636 MB / 0.5644 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3426, allocations: 0.5499 MB / 0.5649 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.3426, allocations: 0 / 0.5649 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3429, allocations: 75.72 kB / 0.565 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3432, allocations: 99.59 kB / 0.5651 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.3435, allocations: 99.69 kB / 0.5652 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3437, allocations: 87.73 kB / 0.5652 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3438, allocations: 18.61 kB / 0.5653 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.3439, allocations: 31.91 kB / 0.5653 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.344, allocations: 47.83 kB / 0.5653 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.344, allocations: 4 kB / 0.5653 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.965e-05/0.3441, allocations: 51.91 kB / 0.5654 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.3441, allocations: 19.92 kB / 0.5654 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.3442, allocations: 27.8 kB / 0.5654 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.3444, allocations: 107.2 kB / 0.5655 GB, free: 1.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3444, allocations: 4 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3444, allocations: 0 / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3444, allocations: 4 kB / 0.5655 GB, free: 1.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005094/0.3449, allocations: 337.6 kB / 0.5659 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.345, allocations: 8.031 kB / 0.5659 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.345, allocations: 12.84 kB / 0.5659 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3452, allocations: 139.2 kB / 0.566 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.3452, allocations: 384 / 0.566 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3452, allocations: 8.375 kB / 0.566 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3454, allocations: 62.16 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3454, allocations: 192 / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3454, allocations: 7.938 kB / 0.5661 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3454, allocations: 4 kB / 0.5661 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3455, allocations: 23.97 kB / 0.5661 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3459, allocations: 263.9 kB / 0.5664 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.346, allocations: 50.59 kB / 0.5664 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.3461, allocations: 12.84 kB / 0.5664 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3461, allocations: 4 kB / 0.5664 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3461, allocations: 30.56 kB / 0.5665 GB, free: 344 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3461, allocations: 3.938 kB / 0.5665 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008754/0.347, allocations: 233.6 kB / 0.5667 GB, free: 100 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.347, allocations: 51.41 kB / 0.5667 GB, free: 36 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3473, allocations: 199.3 kB / 0.5669 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3473, allocations: 29.7 kB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3474, allocations: 104.1 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3474, allocations: 27.75 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.3474, allocations: 21.72 kB / 0.5671 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3476, allocations: 334.8 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3477, allocations: 27.97 kB / 0.5674 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.3477, allocations: 23.92 kB / 0.5675 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3479, allocations: 64.77 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3479, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002145/0.3481, allocations: 105.6 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3481, allocations: 4 kB / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3481, allocations: 0 / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3481, allocations: 0 / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3482, allocations: 23.92 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3483, allocations: 0 / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.3483, allocations: 11.98 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3483, allocations: 0 / 0.5677 GB, free: 15.03 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.0001167/0.3484, allocations: 125.8 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3485, allocations: 19.89 kB / 0.5678 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.3488, allocations: 115.4 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3488, allocations: 3.984 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3488, allocations: 0 / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3488, allocations: 0 / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.3493, allocations: 374.3 kB / 0.5683 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3493, allocations: 3.938 kB / 0.5683 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.3494, allocations: 19.98 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3494, allocations: 0 / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3494, allocations: 7.875 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3494, allocations: 7.984 kB / 0.5683 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3494, allocations: 4 kB / 0.5683 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3497, allocations: 208.3 kB / 0.5685 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3497, allocations: 11.89 kB / 0.5685 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3497, allocations: 3.938 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.3498, allocations: 4 kB / 0.5685 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.3498, allocations: 7.984 kB / 0.5685 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.3498, allocations: 4 kB / 0.5685 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.35, allocations: 157.6 kB / 0.5687 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.35, allocations: 4 kB / 0.5687 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.3502, allocations: 15.94 kB / 0.5687 GB, free: 13.86 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.001686/0.3519, allocations: 452.3 kB / 0.5692 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3522, allocations: 63.89 kB / 0.5692 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3522, allocations: 0 / 0.5692 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.3523, allocations: 31.92 kB / 0.5692 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3526, allocations: 25.64 kB / 0.5693 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.3532, allocations: 296.9 kB / 0.5695 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3536, allocations: 0.7002 MB / 0.5702 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.3536, allocations: 15.44 kB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3536, allocations: 0 / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of Templates: time 0.00389/0.3575, allocations: 1.744 MB / 0.572 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.639166004024446]