Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001879/0.001879, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002165/0.002165, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.565/1.565, allocations: 230.3 MB / 258 MB, free: 8.41 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.2684/0.2684, allocations: 46.93 MB / 361.3 MB, free: 4.48 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14") [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.00264/0.00264, allocations: 83.84 kB / 0.4972 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3465, allocations: 66.03 MB / 0.5617 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003604/0.3501, allocations: 1.682 MB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3524, allocations: 1.294 MB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.3525, allocations: 3.938 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3527, allocations: 31.83 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.3531, allocations: 91.56 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3536, allocations: 171.3 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3537, allocations: 87.69 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3539, allocations: 14.8 kB / 0.565 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.3539, allocations: 35.84 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3541, allocations: 35.84 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3541, allocations: 4 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3543, allocations: 103.9 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.3544, allocations: 23.91 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.3544, allocations: 27.81 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.3547, allocations: 151.2 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3548, allocations: 3.938 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3548, allocations: 0 / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3548, allocations: 0 / 0.5653 GB, free: 0.8203 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.0006369/0.3554, allocations: 345.7 kB / 0.5657 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3554, allocations: 8.031 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.3555, allocations: 8.891 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3557, allocations: 134.4 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3557, allocations: 384 / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3558, allocations: 8.375 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.356, allocations: 75.89 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.356, allocations: 4.188 kB / 0.5659 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.356, allocations: 3.938 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.356, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3562, allocations: 47.89 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.3567, allocations: 275.8 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3569, allocations: 58.48 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.906e-05/0.357, allocations: 20.94 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.357, allocations: 4 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.357, allocations: 30.56 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.357, allocations: 3.984 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009266/0.3579, allocations: 233.3 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.358, allocations: 81.11 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.3582, allocations: 148.1 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3582, allocations: 25.7 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3583, allocations: 100.1 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.3584, allocations: 27.8 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3584, allocations: 21.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3586, allocations: 322.8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3587, allocations: 40.03 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3589, allocations: 57.61 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3592, allocations: 101 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3592, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003345/0.3595, allocations: 117.6 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3595, allocations: 8 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3595, allocations: 0 / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3595, allocations: 4 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3597, allocations: 19.98 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3597, allocations: 3.984 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.3597, allocations: 8 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3598, allocations: 4 kB / 0.5676 GB, free: 14.31 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 (7): * Single equations (assignments): 7 * 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.0001443/0.3599, allocations: 133.7 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.3599, allocations: 7.953 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.3603, allocations: 138.3 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3604, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3604, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3604, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.3611, allocations: 389.4 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3611, allocations: 7.938 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3612, allocations: 23.97 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3612, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3612, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.3612, allocations: 3.938 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3612, allocations: 4 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.3616, allocations: 223.4 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.3616, allocations: 11.89 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3617, allocations: 4 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3618, allocations: 11.92 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3618, allocations: 7.984 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3618, allocations: 0 / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.362, allocations: 117.8 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.362, allocations: 0 / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.3623, allocations: 47.88 kB / 0.5687 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 (7): * Single equations (assignments): 7 * 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.001961/0.3643, allocations: 491.2 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3647, allocations: 91.91 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3647, allocations: 0 / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3648, allocations: 47.91 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3653, allocations: 19.98 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.3659, allocations: 217.9 kB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3663, allocations: 0.6963 MB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.3664, allocations: 32.95 kB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.3665, allocations: 19.42 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3665, allocations: 0 / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Templates: time 0.006225/0.3727, allocations: 1.955 MB / 0.5721 GB, free: 9.668 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.547415938228369]