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.0009167/0.0009167, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009446/0.0009446, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9229/0.9229, allocations: 177 MB / 204.8 MB, free: 5.609 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.2858/0.2858, allocations: 34.87 MB / 296.3 MB, free: 0.5586 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.552e-06/1.552e-06, allocations: 3.938 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.812e-05, allocations: 3.016 kB / 378.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009923/0.00101, allocations: 0.5387 MB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.001538, allocations: 378.8 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.001564, allocations: 0 / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.001584, allocations: 0 / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.001616, allocations: 7.938 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.002015, allocations: 139.4 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.002073, allocations: 27.91 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.002106, allocations: 3.984 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.002137, allocations: 23.92 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.002182, allocations: 11.97 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.002195, allocations: 4 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.002368, allocations: 131.9 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.002383, allocations: 11.91 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.002402, allocations: 8 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.002573, allocations: 147.5 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002575, allocations: 0 / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002575, allocations: 0 / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002579, allocations: 0 / 380.2 MB, free: 0.6914 MB / 346.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.0003358/0.002915, allocations: 396.3 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.002949, allocations: 12.03 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.002987, allocations: 8.891 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.003063, allocations: 116.6 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003073, allocations: 4.375 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.003094, allocations: 12.27 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/0.003181, allocations: 54.23 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.00319, allocations: 192 / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.003199, allocations: 384 / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.003206, allocations: 4.125 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.003243, allocations: 19.92 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.003378, allocations: 136.6 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.003542, allocations: 59.08 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.003575, allocations: 27.67 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.003966, allocations: 31.95 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.003985, allocations: 37.39 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.003986, allocations: 0 / 381.1 MB, free: 15.66 MB / 362.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.05985/0.06384, allocations: 6.119 MB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.06387, allocations: 51.41 kB / 387.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.201e-05/0.06395, allocations: 161.9 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.06398, allocations: 33.7 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.06402, allocations: 130.9 kB / 387.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.06409, allocations: 67.42 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.06421, allocations: 95.25 kB / 387.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.06432, allocations: 0.4923 MB / 388.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.06483, allocations: 211.9 kB / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.06507, allocations: 222.9 kB / 388.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.06602, allocations: 0.5033 MB / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.06602, allocations: 0 / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008924/0.06691, allocations: 0.5715 MB / 389.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.06693, allocations: 12 kB / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.06693, allocations: 256 / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.06695, allocations: 0 / 389.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.06727, allocations: 107.8 kB / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.06727, allocations: 0 / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.06746, allocations: 27.97 kB / 389.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.0675, allocations: 31.94 kB / 389.9 MB, free: 6.734 MB / 362.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.0001109/0.06761, allocations: 160.6 kB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.06768, allocations: 19.89 kB / 390.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.06872, allocations: 0.6884 MB / 390.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.06872, allocations: 0 / 390.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.06873, allocations: 0 / 390.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.06873, allocations: 7.938 kB / 390.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.07064, allocations: 1.045 MB / 391.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.07065, allocations: 0 / 391.8 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.07089, allocations: 95.81 kB / 391.9 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.07089, allocations: 4 kB / 391.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.07093, allocations: 27.95 kB / 391.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.07093, allocations: 7.938 kB / 391.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.07093, allocations: 3.984 kB / 391.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.0717, allocations: 0.5877 MB / 392.5 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.07172, allocations: 7.953 kB / 392.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.07175, allocations: 8 kB / 392.5 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.07192, allocations: 23.91 kB / 392.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.07194, allocations: 19.98 kB / 392.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.07197, allocations: 27.95 kB / 392.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.571e-05/0.07201, allocations: 131.2 kB / 392.7 MB, free: 3.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07201, allocations: 0 / 392.7 MB, free: 3.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/0.07311, allocations: 0.6479 MB / 393.4 MB, free: 3.102 MB / 362.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.002205/0.07531, allocations: 322.5 kB / 393.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.07582, allocations: 431.4 kB / 394.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.07582, allocations: 0 / 394.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.07602, allocations: 187.4 kB / 394.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.07627, allocations: 58.86 kB / 394.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.07734, allocations: 0.5114 MB / 394.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.07739, allocations: 63.58 kB / 394.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003821/0.07777, allocations: 129.2 kB / 395.1 MB, free: 1.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.078, allocations: 92.34 kB / 395.2 MB, free: 1.242 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.078, allocations: 0 / 395.2 MB, free: 1.242 MB / 362.7 MB Notification: Performance of Templates: time 0.2677/0.3457, allocations: 64.17 MB / 459.3 MB, free: 80.02 MB / 410.8 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.673586025834084]