Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001634/0.001634, 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.001765/0.001765, allocations: 205.5 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.424/1.424, 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.2276/0.2276, allocations: 46.92 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3") [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.003358/0.003358, allocations: 83.84 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3273, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003803/0.3311, allocations: 1.636 MB / 0.5639 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3322, allocations: 0.5616 MB / 0.5645 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.3323, allocations: 4 kB / 0.5645 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3326, allocations: 71.78 kB / 0.5646 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.333, allocations: 99.58 kB / 0.5647 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.3333, allocations: 123.1 kB / 0.5648 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.3335, allocations: 79.77 kB / 0.5649 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3336, allocations: 19.62 kB / 0.5649 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.3336, allocations: 35.92 kB / 0.5649 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3337, allocations: 59.75 kB / 0.565 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3338, allocations: 0 / 0.565 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3339, allocations: 43.98 kB / 0.565 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.3339, allocations: 27.84 kB / 0.565 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.334, allocations: 27.81 kB / 0.5651 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3342, allocations: 114.3 kB / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3342, allocations: 0 / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3342, allocations: 0 / 0.5652 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3342, allocations: 0 / 0.5652 GB, free: 1.375 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.0005086/0.3347, allocations: 337.6 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3347, allocations: 8.031 kB / 0.5655 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3348, allocations: 16.83 kB / 0.5655 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.335, allocations: 139.2 kB / 0.5656 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.335, allocations: 4.375 kB / 0.5656 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.335, allocations: 384 / 0.5657 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3352, allocations: 62.17 kB / 0.5657 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3352, allocations: 192 / 0.5657 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3352, allocations: 3.938 kB / 0.5657 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3352, allocations: 4 kB / 0.5657 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.3353, allocations: 27.97 kB / 0.5657 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.3357, allocations: 271.9 kB / 0.566 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3359, allocations: 50.48 kB / 0.5661 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.3359, allocations: 20.94 kB / 0.5661 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3359, allocations: 4 kB / 0.5661 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.336, allocations: 30.56 kB / 0.5661 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.336, allocations: 0 / 0.5661 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009593/0.3369, allocations: 249.2 kB / 0.5663 GB, free: 40 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.337, allocations: 55.41 kB / 0.5664 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3372, allocations: 199.3 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3372, allocations: 25.7 kB / 0.5666 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3373, allocations: 104.1 kB / 0.5667 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.3374, allocations: 31.73 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3374, allocations: 25.66 kB / 0.5668 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3376, allocations: 330.8 kB / 0.5671 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.3376, allocations: 31.97 kB / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.3377, allocations: 27.98 kB / 0.5671 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3379, allocations: 72.81 kB / 0.5672 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3379, allocations: 0 / 0.5672 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002408/0.3381, allocations: 105.6 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3382, allocations: 4 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3382, allocations: 4 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3382, allocations: 4 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3383, allocations: 27.86 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3383, allocations: 0 / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.3383, allocations: 7.984 kB / 0.5674 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3384, allocations: 4 kB / 0.5674 GB, free: 14.94 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 (8): * Single equations (assignments): 8 * 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.0001082/0.3385, allocations: 125.8 kB / 0.5675 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3385, allocations: 11.91 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.3388, allocations: 135 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3388, allocations: 0 / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3388, allocations: 7.938 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3388, allocations: 4 kB / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.3394, allocations: 386.7 kB / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3394, allocations: 0 / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3395, allocations: 24.02 kB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3395, allocations: 0 / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3395, allocations: 7.938 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3395, allocations: 4.078 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3395, allocations: 7.922 kB / 0.568 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3398, allocations: 220.2 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.3398, allocations: 7.953 kB / 0.5683 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3398, allocations: 3.938 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.3399, allocations: 4 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3399, allocations: 11.98 kB / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3399, allocations: 0 / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.34, allocations: 157.6 kB / 0.5684 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 0 / 0.5684 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3403, allocations: 15.94 kB / 0.5684 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001643/0.342, allocations: 452.4 kB / 0.5689 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3422, allocations: 75.88 kB / 0.5689 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3422, allocations: 4 kB / 0.5689 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.3423, allocations: 31.98 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3427, allocations: 23.3 kB / 0.569 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.3432, allocations: 267.1 kB / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3435, allocations: 0.7119 MB / 0.5699 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.3436, allocations: 24.94 kB / 0.57 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3436, allocations: 11.44 kB / 0.57 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3436, allocations: 0 / 0.57 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.004375/0.348, allocations: 1.442 MB / 0.5714 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.846156733809039]