Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.00162/0.00162, 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.001719/0.001719, allocations: 209.1 kB / 25.12 MB, free: 3.59 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.435/1.435, allocations: 230.4 MB / 258.7 MB, free: 8.078 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.2171/0.2171, allocations: 46.94 MB / 362 MB, free: 4.238 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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") [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.002334/0.002334, allocations: 87.84 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3152, allocations: 66.07 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003099/0.3183, allocations: 1.62 MB / 0.5639 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3194, allocations: 0.5538 MB / 0.5645 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.3194, allocations: 0 / 0.5645 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3196, allocations: 31.78 kB / 0.5645 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.3199, allocations: 79.62 kB / 0.5646 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3202, allocations: 115.2 kB / 0.5647 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3204, allocations: 67.81 kB / 0.5647 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.3205, allocations: 6.812 kB / 0.5647 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.3205, allocations: 27.86 kB / 0.5648 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.3206, allocations: 23.86 kB / 0.5648 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3206, allocations: 8 kB / 0.5648 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.3207, allocations: 35.92 kB / 0.5648 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.3207, allocations: 15.92 kB / 0.5648 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.3208, allocations: 19.81 kB / 0.5649 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3209, allocations: 87.36 kB / 0.565 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3209, allocations: 0 / 0.565 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3209, allocations: 0 / 0.565 GB, free: 1.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.321, allocations: 0 / 0.565 GB, free: 1.598 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.0004566/0.3214, allocations: 305.9 kB / 0.5652 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3214, allocations: 16.02 kB / 0.5653 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3215, allocations: 12.89 kB / 0.5653 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3217, allocations: 132.7 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.3217, allocations: 384 / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3217, allocations: 4.375 kB / 0.5654 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3218, allocations: 46.23 kB / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3218, allocations: 4.188 kB / 0.5654 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3219, allocations: 7.938 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3219, allocations: 3.938 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.3219, allocations: 23.97 kB / 0.5655 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.3223, allocations: 255.9 kB / 0.5657 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3225, allocations: 46.48 kB / 0.5658 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.3226, allocations: 16.86 kB / 0.5658 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3226, allocations: 3.984 kB / 0.5658 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3227, allocations: 38.64 kB / 0.5658 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3227, allocations: 4 kB / 0.5658 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005909/0.3233, allocations: 145.4 kB / 0.566 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3233, allocations: 55.39 kB / 0.566 GB, free: 364 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3234, allocations: 144.6 kB / 0.5662 GB, free: 208 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3235, allocations: 33.7 kB / 0.5662 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.3235, allocations: 96.12 kB / 0.5663 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3236, allocations: 19.8 kB / 0.5663 GB, free: 48 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3236, allocations: 17.72 kB / 0.5663 GB, free: 24 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3238, allocations: 326.8 kB / 0.5666 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.3238, allocations: 19.94 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.3239, allocations: 27.91 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3241, allocations: 52.83 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3241, allocations: 4.125 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.3243, allocations: 89.62 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3243, allocations: 4 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3243, allocations: 3.984 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3243, allocations: 0 / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.3244, allocations: 12 kB / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3244, allocations: 0 / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.3244, allocations: 11.98 kB / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3244, allocations: 3.938 kB / 0.5669 GB, free: 15.46 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.286e-05/0.3245, allocations: 117.8 kB / 0.567 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.3245, allocations: 7.953 kB / 0.567 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.3248, allocations: 102 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3248, allocations: 0 / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3248, allocations: 0 / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3248, allocations: 4 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.3253, allocations: 333.5 kB / 0.5674 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3253, allocations: 3.938 kB / 0.5674 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.3253, allocations: 11.98 kB / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3253, allocations: 0 / 0.5674 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3253, allocations: 4 kB / 0.5674 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3253, allocations: 0 / 0.5674 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3253, allocations: 0 / 0.5674 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3256, allocations: 195.6 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.3256, allocations: 3.953 kB / 0.5676 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3256, allocations: 4 kB / 0.5676 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.3257, allocations: 7.984 kB / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3257, allocations: 7.938 kB / 0.5676 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3257, allocations: 4 kB / 0.5676 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3258, allocations: 119.2 kB / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3258, allocations: 0 / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3261, allocations: 15.94 kB / 0.5678 GB, free: 14.45 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.001452/0.3275, allocations: 388.5 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3277, allocations: 51.95 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3277, allocations: 0 / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.3278, allocations: 39.86 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3281, allocations: 27.23 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.3285, allocations: 182.4 kB / 0.5684 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3289, allocations: 0.7001 MB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3289, allocations: 23.77 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.329, allocations: 15.42 kB / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.329, allocations: 0 / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003946/0.3329, allocations: 1.161 MB / 0.5703 GB, free: 11.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.764731839997694]