Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001359/0.001359, 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.001501/0.001501, allocations: 209.6 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.433/1.433, allocations: 230.4 MB / 258.7 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.2388/0.2388, allocations: 46.93 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9") [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.002318/0.002318, allocations: 79.86 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3195, allocations: 66.08 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00303/0.3225, allocations: 1.633 MB / 0.5639 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3236, allocations: 0.5839 MB / 0.5645 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.3236, allocations: 0 / 0.5645 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.3242, allocations: 459.1 kB / 0.5649 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.3247, allocations: 295.3 kB / 0.5652 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.3251, allocations: 175.1 kB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.3254, allocations: 171.6 kB / 0.5655 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.3254, allocations: 7.984 kB / 0.5656 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3256, allocations: 119.7 kB / 0.5657 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.3258, allocations: 255.5 kB / 0.5659 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3259, allocations: 0 / 0.5659 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.3259, allocations: 24 kB / 0.5659 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.326, allocations: 83.69 kB / 0.566 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3261, allocations: 102.9 kB / 0.5661 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.3265, allocations: 265.2 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3265, allocations: 0 / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3265, allocations: 0 / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3265, allocations: 8 kB / 0.5664 GB, free: 104 kB / 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.0007846/0.3273, allocations: 0.5776 MB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3273, allocations: 15.97 kB / 0.567 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.3274, allocations: 44.61 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3276, allocations: 238.8 kB / 0.5672 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.3277, allocations: 384 / 0.5672 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.3277, allocations: 4.375 kB / 0.5672 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3278, allocations: 67.14 kB / 0.5673 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3278, allocations: 192 / 0.5673 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3279, allocations: 7.938 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3279, allocations: 0 / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.328, allocations: 31.97 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3285, allocations: 363.9 kB / 0.5677 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3286, allocations: 50.44 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.3287, allocations: 24.94 kB / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3287, allocations: 0 / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3288, allocations: 30.56 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3288, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003584/0.3291, allocations: 133.4 kB / 0.5679 GB, free: 14.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3292, allocations: 51.41 kB / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.33, allocations: 0.8691 MB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3301, allocations: 25.7 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3303, allocations: 216.1 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.3303, allocations: 11.89 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3303, allocations: 13.72 kB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3305, allocations: 366.8 kB / 0.5694 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.3306, allocations: 19.98 kB / 0.5694 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.3306, allocations: 15.98 kB / 0.5694 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3307, allocations: 41.11 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3307, allocations: 7.938 kB / 0.5695 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002123/0.331, allocations: 113.4 kB / 0.5696 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.331, allocations: 8 kB / 0.5696 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.331, allocations: 4 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.331, allocations: 3.938 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.3311, allocations: 15.98 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3311, allocations: 0 / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.3312, allocations: 4 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3312, allocations: 3.938 kB / 0.5696 GB, free: 12.57 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 (3): * Single equations (assignments): 3 * 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.0002123/0.3314, allocations: 217.7 kB / 0.5698 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.3314, allocations: 43.72 kB / 0.5699 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.3317, allocations: 125.1 kB / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3317, allocations: 0 / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3317, allocations: 0 / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3317, allocations: 3.938 kB / 0.57 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.332, allocations: 268.6 kB / 0.5703 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.332, allocations: 0 / 0.5703 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.3321, allocations: 7.938 kB / 0.5703 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3321, allocations: 4 kB / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3321, allocations: 4 kB / 0.5703 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3321, allocations: 7.984 kB / 0.5703 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3321, allocations: 0 / 0.5703 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3323, allocations: 211.1 kB / 0.5705 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.3324, allocations: 39.66 kB / 0.5705 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3324, allocations: 0 / 0.5705 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.3325, allocations: 4 kB / 0.5705 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.3325, allocations: 7.984 kB / 0.5705 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3325, allocations: 0 / 0.5705 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006488/0.3332, allocations: 0.6511 MB / 0.5712 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3332, allocations: 0 / 0.5712 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3334, allocations: 20 kB / 0.5712 GB, free: 10.89 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 (3): * Single equations (assignments): 3 * 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.001239/0.3347, allocations: 347.7 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3349, allocations: 47.94 kB / 0.5716 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3349, allocations: 0 / 0.5716 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.335, allocations: 19.98 kB / 0.5716 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3354, allocations: 30.23 kB / 0.5716 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3365, allocations: 0.8024 MB / 0.5724 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.337, allocations: 0.826 MB / 0.5732 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.3371, allocations: 19.67 kB / 0.5732 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.3371, allocations: 11.44 kB / 0.5732 GB, free: 8.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3371, allocations: 0 / 0.5732 GB, free: 8.848 MB / 414.1 MB Notification: Performance of Templates: time 0.004791/0.3419, allocations: 1.319 MB / 0.5745 GB, free: 7.531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.978099602041766]