Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 206.8 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 46.96 MB / 361.6 MB, free: 4.051 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.83 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001705/0.2941, allocations: 0.5266 MB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007139/0.2948, allocations: 342.7 kB / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.2948, allocations: 0 / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.2948, allocations: 0 / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.2949, allocations: 3.938 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2953, allocations: 107.7 kB / 0.5628 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.2954, allocations: 27.91 kB / 0.5628 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.2954, allocations: 7.797 kB / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.2954, allocations: 15.92 kB / 0.5628 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.2955, allocations: 11.92 kB / 0.5628 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2955, allocations: 4 kB / 0.5628 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2957, allocations: 123.9 kB / 0.5629 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2958, allocations: 7.922 kB / 0.5629 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.2958, allocations: 11.94 kB / 0.563 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.296, allocations: 102.3 kB / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.296, allocations: 0 / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.296, allocations: 0 / 0.5631 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.296, allocations: 0 / 0.5631 GB, free: 2.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000445/0.2964, allocations: 290 kB / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2964, allocations: 8.031 kB / 0.5633 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2965, allocations: 4.938 kB / 0.5633 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2966, allocations: 114.5 kB / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2966, allocations: 384 / 0.5634 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2966, allocations: 4.375 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.2967, allocations: 66.11 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2968, allocations: 192 / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2968, allocations: 7.938 kB / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2968, allocations: 0 / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.2968, allocations: 27.98 kB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.297, allocations: 117.2 kB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2972, allocations: 54.58 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.2973, allocations: 28.84 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.2975, allocations: 27.95 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2975, allocations: 38.56 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2975, allocations: 3.938 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04562/0.3432, allocations: 2.569 MB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3432, allocations: 51.41 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.3433, allocations: 105.8 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.3433, allocations: 29.7 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.3434, allocations: 83.89 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.3435, allocations: 67.38 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3436, allocations: 57.69 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3437, allocations: 318.8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.3441, allocations: 179.9 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3445, allocations: 176.3 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3456, allocations: 427 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3456, allocations: 0 / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001076/0.3467, allocations: 459.1 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3467, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.3467, allocations: 11.92 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3467, allocations: 0 / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.3471, allocations: 71.88 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3471, allocations: 0 / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.3473, allocations: 23.97 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.3474, allocations: 15.98 kB / 0.5683 GB, free: 13.34 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 (19): * Single equations (assignments): 19 * 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.0001291/0.3475, allocations: 121.8 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3475, allocations: 11.95 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.3488, allocations: 0.5368 MB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3489, allocations: 0 / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3489, allocations: 0 / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3489, allocations: 3.984 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.3511, allocations: 0.7913 MB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3511, allocations: 4 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.3514, allocations: 71.88 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.3514, allocations: 7.938 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3514, allocations: 12.23 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3514, allocations: 8 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3514, allocations: 4 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/0.3524, allocations: 464.6 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.3524, allocations: 7.953 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.3525, allocations: 11.94 kB / 0.5703 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3527, allocations: 23.97 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.3527, allocations: 15.92 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.3527, allocations: 19.98 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.3528, allocations: 83.28 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.3537, allocations: 319.5 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001356/0.355, allocations: 230.8 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.3559, allocations: 334.1 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3559, allocations: 0 / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.3562, allocations: 135.8 kB / 0.5714 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3565, allocations: 22.66 kB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3578, allocations: 414.1 kB / 0.5718 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.3579, allocations: 75.58 kB / 0.5719 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.3582, allocations: 96.97 kB / 0.572 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3584, allocations: 51.41 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3584, allocations: 0 / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of Templates: time 0.02517/0.3836, allocations: 18.11 MB / 0.5897 GB, free: 7.254 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.896197041001869]