Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00126/0.00126, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 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.001405/0.001405, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.195 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.2244/0.2244, allocations: 46.93 MB / 361.4 MB, free: 4.387 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.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [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.002403/0.002403, allocations: 75.88 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3002, allocations: 66.03 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00183/0.302, allocations: 0.5459 MB / 0.5622 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008686/0.3029, allocations: 414.7 kB / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.3029, allocations: 0 / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.303, allocations: 3.938 kB / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.303, allocations: 0 / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.3035, allocations: 146.7 kB / 0.5627 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.3036, allocations: 27.91 kB / 0.5627 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3036, allocations: 4 kB / 0.5627 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.3036, allocations: 15.92 kB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.3037, allocations: 11.92 kB / 0.5628 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3037, allocations: 4 kB / 0.5628 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.304, allocations: 167.8 kB / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.304, allocations: 0 / 0.5629 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.3041, allocations: 19.86 kB / 0.563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3043, allocations: 122.4 kB / 0.5631 GB, free: 3.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3043, allocations: 4 kB / 0.5631 GB, free: 3.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3043, allocations: 0 / 0.5631 GB, free: 3.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.3043, allocations: 0 / 0.5631 GB, free: 3.066 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.000412/0.3047, allocations: 293.9 kB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3047, allocations: 12.03 kB / 0.5634 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.3048, allocations: 4.938 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3049, allocations: 118.4 kB / 0.5635 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3049, allocations: 384 / 0.5635 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.3049, allocations: 4.375 kB / 0.5635 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.305, allocations: 54.25 kB / 0.5635 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.305, allocations: 7.875 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3051, allocations: 8 kB / 0.5636 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3051, allocations: 0 / 0.5636 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.814e-05/0.3051, allocations: 31.91 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.3053, allocations: 136.8 kB / 0.5637 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3055, allocations: 50.55 kB / 0.5638 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.3056, allocations: 25.14 kB / 0.5638 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.3058, allocations: 31.89 kB / 0.5638 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3058, allocations: 42.56 kB / 0.5639 GB, free: 2.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3058, allocations: 3.938 kB / 0.5639 GB, free: 2.137 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.1402/0.446, allocations: 6.383 MB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4461, allocations: 63.39 kB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4462, allocations: 93.86 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.4463, allocations: 33.7 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.4463, allocations: 84.14 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4464, allocations: 67.42 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.4466, allocations: 85.59 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4468, allocations: 326.8 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.4474, allocations: 231.8 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.448, allocations: 231.8 kB / 0.5713 GB, free: 10.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.4502, allocations: 0.5575 MB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4502, allocations: 0 / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001876/0.4521, allocations: 0.6089 MB / 0.5724 GB, free: 9.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4521, allocations: 8 kB / 0.5724 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4521, allocations: 4 kB / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4521, allocations: 3.984 kB / 0.5724 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.4528, allocations: 111.8 kB / 0.5725 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4528, allocations: 0 / 0.5725 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4533, allocations: 23.95 kB / 0.5725 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.4534, allocations: 35.94 kB / 0.5726 GB, free: 9.117 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.0001537/0.4535, allocations: 125.7 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.4536, allocations: 7.953 kB / 0.5727 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.4558, allocations: 0.7279 MB / 0.5734 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4558, allocations: 4 kB / 0.5734 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4558, allocations: 4 kB / 0.5734 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4558, allocations: 0 / 0.5734 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.46, allocations: 1.121 MB / 0.5745 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.46, allocations: 8.188 kB / 0.5745 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.4606, allocations: 95.86 kB / 0.5746 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.4606, allocations: 8.453 kB / 0.5746 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.4607, allocations: 23.95 kB / 0.5746 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.4607, allocations: 7.938 kB / 0.5747 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4607, allocations: 0 / 0.5747 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.4624, allocations: 0.5851 MB / 0.5752 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4625, allocations: 15.89 kB / 0.5752 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.4625, allocations: 7.984 kB / 0.5752 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.463, allocations: 23.97 kB / 0.5753 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.463, allocations: 15.97 kB / 0.5753 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.463, allocations: 31.95 kB / 0.5753 GB, free: 6.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.4631, allocations: 87.28 kB / 0.5754 GB, free: 6.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4631, allocations: 3.938 kB / 0.5754 GB, free: 6.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001644/0.4647, allocations: 0.6518 MB / 0.576 GB, free: 5.453 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.003181/0.4679, allocations: 294.5 kB / 0.5763 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.4692, allocations: 443.5 kB / 0.5767 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4692, allocations: 0 / 0.5767 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.4697, allocations: 191.7 kB / 0.5769 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.47, allocations: 15.38 kB / 0.5769 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4724, allocations: 0.5256 MB / 0.5775 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4728, allocations: 0.6965 MB / 0.5781 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.4732, allocations: 129 kB / 0.5783 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.4735, allocations: 91.28 kB / 0.5783 GB, free: 3 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4735, allocations: 0 / 0.5783 GB, free: 3 MB / 414.1 MB Notification: Performance of Templates: time 0.08033/0.5539, allocations: 57.61 MB / 0.6346 GB, free: 9.312 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 5.743531372398138]