Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001584/0.001584, allocations: 113.1 kB / 21.85 MB, free: 68 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.001774/0.001774, allocations: 210.1 kB / 25.13 MB, free: 3.586 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.441/1.441, allocations: 230.4 MB / 258.7 MB, free: 8.082 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.2209/0.2209, allocations: 46.93 MB / 362 MB, free: 4.242 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21") [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.002337/0.002337, allocations: 83.88 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3318, allocations: 66.08 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00302/0.3348, allocations: 1.609 MB / 0.5639 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3368, allocations: 1.259 MB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.3368, allocations: 4 kB / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.3371, allocations: 23.84 kB / 0.5652 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.3374, allocations: 91.61 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3376, allocations: 95.14 kB / 0.5653 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3378, allocations: 71.77 kB / 0.5654 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.3379, allocations: 15.64 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.3379, allocations: 23.94 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.338, allocations: 31.83 kB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3381, allocations: 4 kB / 0.5655 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3382, allocations: 99.88 kB / 0.5656 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.3383, allocations: 11.94 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.3383, allocations: 27.86 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3386, allocations: 138.3 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3386, allocations: 0 / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3386, allocations: 0 / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3386, allocations: 0 / 0.5657 GB, free: 0.7812 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.0004912/0.3391, allocations: 329.6 kB / 0.5661 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3391, allocations: 12.02 kB / 0.5661 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3392, allocations: 12.89 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3393, allocations: 133.2 kB / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3394, allocations: 384 / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3394, allocations: 384 / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3396, allocations: 93.66 kB / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3396, allocations: 192 / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3396, allocations: 3.938 kB / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3396, allocations: 0 / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.3397, allocations: 27.92 kB / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.34, allocations: 256 kB / 0.5666 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3402, allocations: 42.5 kB / 0.5666 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3403, allocations: 8.859 kB / 0.5666 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3403, allocations: 4 kB / 0.5666 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3403, allocations: 46.58 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3403, allocations: 0 / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005411/0.3409, allocations: 137.4 kB / 0.5668 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3409, allocations: 77.11 kB / 0.5669 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3411, allocations: 143.9 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3411, allocations: 25.7 kB / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.3412, allocations: 100.1 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3412, allocations: 23.8 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.3412, allocations: 13.72 kB / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3414, allocations: 322.8 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.3415, allocations: 19.98 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.3415, allocations: 55.41 kB / 0.5676 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3417, allocations: 52.86 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3417, allocations: 0 / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.3419, allocations: 89.73 kB / 0.5677 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3419, allocations: 4 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3419, allocations: 0 / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3419, allocations: 0 / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.342, allocations: 16 kB / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.342, allocations: 7.938 kB / 0.5677 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.342, allocations: 7.984 kB / 0.5677 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.342, allocations: 3.984 kB / 0.5677 GB, free: 14.54 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 (5): * Single equations (assignments): 5 * 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 9.072e-05/0.3421, allocations: 117.8 kB / 0.5678 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3421, allocations: 7.953 kB / 0.5678 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.3424, allocations: 94 kB / 0.5679 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3424, allocations: 4.266 kB / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3424, allocations: 4 kB / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3424, allocations: 0 / 0.5679 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.3428, allocations: 321.6 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3428, allocations: 0 / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.3429, allocations: 15.98 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3429, allocations: 0 / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3429, allocations: 3.938 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3429, allocations: 0 / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3429, allocations: 7.938 kB / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3431, allocations: 175.5 kB / 0.5684 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.3431, allocations: 11.94 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3432, allocations: 0 / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.3432, allocations: 4 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3433, allocations: 11.92 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3433, allocations: 4.188 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3434, allocations: 113.8 kB / 0.5686 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3434, allocations: 0 / 0.5686 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3437, allocations: 39.86 kB / 0.5686 GB, free: 13.53 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 (5): * Single equations (assignments): 5 * 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.001664/0.3453, allocations: 498.2 kB / 0.5691 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3455, allocations: 47.91 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3455, allocations: 0 / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.3456, allocations: 27.98 kB / 0.5692 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.346, allocations: 19.36 kB / 0.5692 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.3464, allocations: 173.4 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3467, allocations: 0.6885 MB / 0.57 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.3467, allocations: 15.77 kB / 0.57 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.3468, allocations: 19.42 kB / 0.5701 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3468, allocations: 0 / 0.5701 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.005012/0.3518, allocations: 1.768 MB / 0.5718 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.94634832511656]