Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.0008949/0.0008949, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009155/0.0009155, allocations: 161.2 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.8807/0.8807, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2413/0.2413, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.105e-05, allocations: 5.234 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001152/0.001173, allocations: 0.54 MB / 326.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.001712, allocations: 379.4 kB / 326.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.001737, allocations: 0 / 326.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.001751, allocations: 3.938 kB / 326.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.001781, allocations: 0 / 326.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.002157, allocations: 139.4 kB / 327 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.002208, allocations: 27.91 kB / 327 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.002244, allocations: 16.73 kB / 327 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.002278, allocations: 15.98 kB / 327 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.002333, allocations: 15.91 kB / 327 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.002344, allocations: 0 / 327 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.00251, allocations: 127.9 kB / 327.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.002528, allocations: 19.91 kB / 327.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.002542, allocations: 4 kB / 327.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.002698, allocations: 151.5 kB / 327.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.0027, allocations: 0 / 327.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002701, allocations: 0 / 327.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.002704, allocations: 0 / 327.3 MB, free: 5.742 MB / 298.7 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.0002662/0.00297, allocations: 270 kB / 327.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.003001, allocations: 8.031 kB / 327.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.003024, allocations: 4.938 kB / 327.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.003097, allocations: 129.6 kB / 327.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003107, allocations: 4.375 kB / 327.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.003124, allocations: 384 / 327.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.522e-05/0.003189, allocations: 53.7 kB / 327.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.003198, allocations: 4.172 kB / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.003204, allocations: 384 / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.003209, allocations: 4.125 kB / 327.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.003239, allocations: 19.92 kB / 327.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.584e-05/0.003325, allocations: 69.05 kB / 327.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.003456, allocations: 46.55 kB / 327.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.003477, allocations: 20.84 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.003606, allocations: 31.95 kB / 328 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.003764, allocations: 30.84 kB / 328 MB, free: 4.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.003766, allocations: 0 / 328 MB, free: 4.977 MB / 298.7 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.04793/0.05169, allocations: 5.726 MB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.05174, allocations: 51.41 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.0518, allocations: 118.7 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.05184, allocations: 25.7 kB / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.05186, allocations: 80.14 kB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.05192, allocations: 71.42 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.05202, allocations: 65.58 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.0521, allocations: 322.8 kB / 334.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.05224, allocations: 143.9 kB / 334.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.05237, allocations: 136 kB / 334.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.0531, allocations: 415.6 kB / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.0531, allocations: 0 / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005583/0.05366, allocations: 377.5 kB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.05367, allocations: 7.938 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.05368, allocations: 4 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.05369, allocations: 3.984 kB / 335.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.05397, allocations: 87.78 kB / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.05397, allocations: 0 / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.05412, allocations: 15.98 kB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.05415, allocations: 23.94 kB / 335.6 MB, free: 13.25 MB / 314.7 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.0001028/0.05426, allocations: 113.8 kB / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.0543, allocations: 15.92 kB / 335.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.05503, allocations: 0.4892 MB / 336.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.05503, allocations: 4 kB / 336.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.05503, allocations: 0 / 336.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.05504, allocations: 3.984 kB / 336.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.05651, allocations: 0.7027 MB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.05652, allocations: 7.938 kB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.05674, allocations: 71.81 kB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.05674, allocations: 4 kB / 337.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.05677, allocations: 15.95 kB / 337.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.05677, allocations: 0 / 337.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.05677, allocations: 4.25 kB / 337.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.05731, allocations: 405.8 kB / 337.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.05733, allocations: 7.953 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.05736, allocations: 8 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.05752, allocations: 23.97 kB / 337.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.05753, allocations: 15.92 kB / 337.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.05756, allocations: 19.95 kB / 337.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.689e-05/0.05758, allocations: 20.78 kB / 337.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05758, allocations: 0 / 337.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001357/0.05894, allocations: 0.6441 MB / 338.2 MB, free: 10.59 MB / 314.7 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.001998/0.06094, allocations: 311.6 kB / 338.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.06154, allocations: 296.5 kB / 338.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.06155, allocations: 4 kB / 338.8 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.06168, allocations: 129.3 kB / 338.9 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.06185, allocations: 43.2 kB / 339 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.06274, allocations: 425.2 kB / 339.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.06278, allocations: 63.59 kB / 339.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.06303, allocations: 125 kB / 339.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.06329, allocations: 107.2 kB / 339.7 MB, free: 9.039 MB / 314.7 MB Notification: Performance of SimCode: time 1.103e-06/0.06329, allocations: 0 / 339.7 MB, free: 9.039 MB / 314.7 MB Notification: Performance of Templates: time 0.06075/0.124, allocations: 64.1 MB / 403.8 MB, free: 8.922 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.149882559198886]