Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001531/0.001531, allocations: 117 kB / 21.85 MB, free: 72 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.001708/0.001708, allocations: 213.1 kB / 25.13 MB, free: 3.582 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.415/1.415, 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.2225/0.2225, 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") [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.0023/0.0023, allocations: 83.86 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3309, allocations: 66.08 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003233/0.3341, allocations: 1.613 MB / 0.5639 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3352, allocations: 0.5538 MB / 0.5645 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.3352, allocations: 11.94 kB / 0.5645 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3355, allocations: 27.78 kB / 0.5645 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.3358, allocations: 79.67 kB / 0.5646 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3361, allocations: 115.2 kB / 0.5647 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3362, allocations: 67.77 kB / 0.5647 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.3363, allocations: 8 kB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.3364, allocations: 31.91 kB / 0.5648 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.3364, allocations: 23.86 kB / 0.5648 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3364, allocations: 0 / 0.5648 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3365, allocations: 31.94 kB / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.3366, allocations: 19.92 kB / 0.5649 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.3366, allocations: 27.8 kB / 0.5649 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3368, allocations: 89.98 kB / 0.565 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.3368, allocations: 0 / 0.565 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3368, allocations: 0 / 0.565 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3368, allocations: 0 / 0.565 GB, free: 1.562 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.0004875/0.3373, allocations: 317.8 kB / 0.5653 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3373, allocations: 12.03 kB / 0.5653 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3374, allocations: 12.84 kB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3376, allocations: 138.9 kB / 0.5654 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3376, allocations: 4.375 kB / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3376, allocations: 8.359 kB / 0.5654 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3378, allocations: 53.8 kB / 0.5655 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3378, allocations: 0 / 0.5655 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3378, allocations: 3.938 kB / 0.5655 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3378, allocations: 4 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.3379, allocations: 23.98 kB / 0.5655 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.3383, allocations: 263.9 kB / 0.5658 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3385, allocations: 38.56 kB / 0.5658 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.3386, allocations: 20.94 kB / 0.5658 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3386, allocations: 4 kB / 0.5658 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3386, allocations: 30.56 kB / 0.5659 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3386, allocations: 0 / 0.5659 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005829/0.3392, allocations: 157.4 kB / 0.566 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3393, allocations: 51.41 kB / 0.5661 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3395, allocations: 174.5 kB / 0.5662 GB, free: 112 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3395, allocations: 29.69 kB / 0.5663 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.3396, allocations: 96.14 kB / 0.5663 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3396, allocations: 19.83 kB / 0.5664 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3396, allocations: 17.72 kB / 0.5664 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3398, allocations: 326.8 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.3398, allocations: 23.92 kB / 0.5667 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.3399, allocations: 23.98 kB / 0.5667 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3401, allocations: 56.77 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3401, allocations: 0 / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002115/0.3403, allocations: 89.56 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3403, allocations: 5.875 kB / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3403, allocations: 4 kB / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3403, allocations: 0 / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.3404, allocations: 11.98 kB / 0.5669 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3404, allocations: 7.938 kB / 0.5669 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.3404, allocations: 4 kB / 0.5669 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3404, allocations: 0 / 0.5669 GB, free: 15.38 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.324e-05/0.3405, allocations: 125.8 kB / 0.567 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3405, allocations: 7.953 kB / 0.567 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3408, allocations: 98.05 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3408, allocations: 4 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3408, allocations: 4.312 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3408, allocations: 0 / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3412, allocations: 345.4 kB / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3412, allocations: 0 / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3413, allocations: 15.98 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3413, allocations: 0 / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3413, allocations: 0 / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3413, allocations: 3.938 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3413, allocations: 8 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3416, allocations: 179.4 kB / 0.5677 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.3416, allocations: 11.91 kB / 0.5677 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3416, allocations: 4 kB / 0.5677 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.3417, allocations: 11.92 kB / 0.5677 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3417, allocations: 4.281 kB / 0.5677 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3417, allocations: 4 kB / 0.5677 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3418, allocations: 135.9 kB / 0.5678 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3418, allocations: 4 kB / 0.5678 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3421, allocations: 15.92 kB / 0.5679 GB, free: 14.32 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.001442/0.3435, allocations: 399.7 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3437, allocations: 47.97 kB / 0.5683 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3437, allocations: 11.88 kB / 0.5683 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3438, allocations: 27.97 kB / 0.5683 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3441, allocations: 19.88 kB / 0.5683 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.3446, allocations: 201.9 kB / 0.5685 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.345, allocations: 0.7002 MB / 0.5692 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.3451, allocations: 27.61 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3451, allocations: 11.44 kB / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3451, allocations: 0 / 0.5692 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Templates: time 0.003957/0.349, allocations: 1.18 MB / 0.5704 GB, free: 11.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.79778332519345]