Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0017/0.0017, allocations: 109.1 kB / 21.84 MB, free: 88 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.002033/0.002033, allocations: 219.7 kB / 25.13 MB, free: 3.609 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.44/1.44, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2252/0.2252, allocations: 46.94 MB / 362 MB, free: 4.23 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [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.002344/0.002344, allocations: 79.88 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3446, allocations: 66.09 MB / 0.5624 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003186/0.3477, allocations: 1.715 MB / 0.564 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3489, allocations: 0.6082 MB / 0.5646 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.3489, allocations: 0 / 0.5646 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3492, allocations: 31.78 kB / 0.5647 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3495, allocations: 79.56 kB / 0.5647 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.3499, allocations: 179.1 kB / 0.5649 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.3501, allocations: 107.6 kB / 0.565 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3502, allocations: 19.64 kB / 0.565 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.3503, allocations: 47.83 kB / 0.5651 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.3504, allocations: 39.78 kB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3504, allocations: 8 kB / 0.5651 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3506, allocations: 103.9 kB / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.3507, allocations: 23.92 kB / 0.5652 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.3507, allocations: 39.78 kB / 0.5653 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.351, allocations: 158.3 kB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.351, allocations: 0 / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.351, allocations: 0 / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.351, allocations: 0 / 0.5654 GB, free: 1.102 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.0006419/0.3517, allocations: 365.5 kB / 0.5658 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3517, allocations: 12.03 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3518, allocations: 16.84 kB / 0.5658 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.352, allocations: 146.9 kB / 0.5659 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.352, allocations: 384 / 0.5659 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.352, allocations: 8.375 kB / 0.5659 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.3523, allocations: 121.1 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3523, allocations: 0 / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3523, allocations: 0 / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3523, allocations: 4 kB / 0.5661 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3526, allocations: 83.84 kB / 0.5661 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.3533, allocations: 307.8 kB / 0.5664 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3535, allocations: 78.47 kB / 0.5665 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3536, allocations: 48.94 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3537, allocations: 0 / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3537, allocations: 38.55 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.3537, allocations: 0 / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00152/0.3552, allocations: 405 kB / 0.567 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3553, allocations: 81.11 kB / 0.5671 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3555, allocations: 158.4 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3555, allocations: 33.7 kB / 0.5672 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.3556, allocations: 104.2 kB / 0.5673 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.3556, allocations: 35.67 kB / 0.5674 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3557, allocations: 21.72 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3558, allocations: 322.8 kB / 0.5677 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3561, allocations: 83.86 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3564, allocations: 119.3 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3569, allocations: 168.7 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3569, allocations: 0 / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006125/0.3576, allocations: 213.8 kB / 0.5683 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3576, allocations: 8 kB / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3576, allocations: 0 / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3576, allocations: 0 / 0.5683 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3578, allocations: 39.95 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3578, allocations: 7.938 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.358, allocations: 35.89 kB / 0.5684 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.358, allocations: 4 kB / 0.5684 GB, free: 13.87 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 (10): * Single equations (assignments): 10 * 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.0001204/0.3581, allocations: 113.8 kB / 0.5685 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.3581, allocations: 11.95 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.3588, allocations: 230.4 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3588, allocations: 3.938 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3588, allocations: 0 / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3588, allocations: 3.938 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.3598, allocations: 0.4935 MB / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3598, allocations: 0 / 0.5692 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3599, allocations: 31.97 kB / 0.5692 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3599, allocations: 7.875 kB / 0.5692 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.36, allocations: 0 / 0.5692 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.36, allocations: 7.984 kB / 0.5692 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.36, allocations: 4 kB / 0.5692 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.3606, allocations: 299.3 kB / 0.5695 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.3606, allocations: 11.89 kB / 0.5695 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3606, allocations: 0 / 0.5695 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3608, allocations: 31.95 kB / 0.5696 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3609, allocations: 7.984 kB / 0.5696 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.3609, allocations: 4 kB / 0.5696 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.361, allocations: 123.9 kB / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000311/0.3613, allocations: 51.86 kB / 0.5697 GB, free: 12.36 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 (9): * Single equations (assignments): 9 * 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.001695/0.363, allocations: 0.4922 MB / 0.5702 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006295/0.3636, allocations: 175.8 kB / 0.5704 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3636, allocations: 0 / 0.5704 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.3639, allocations: 87.86 kB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3643, allocations: 27.97 kB / 0.5705 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.3648, allocations: 238.3 kB / 0.5707 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3652, allocations: 0.708 MB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.3653, allocations: 28.47 kB / 0.5714 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.3653, allocations: 23.42 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3653, allocations: 384 / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005986/0.3713, allocations: 2.615 MB / 0.574 GB, free: 8.094 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.024175305850804]