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.001341/0.001341, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00152/0.00152, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2277/0.2277, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.002359/0.002359, allocations: 79.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3308, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001609/0.3324, allocations: 0.5421 MB / 0.5617 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.3332, allocations: 414.7 kB / 0.5621 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.3332, allocations: 0 / 0.5621 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.3333, allocations: 3.938 kB / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.3333, allocations: 0 / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.3338, allocations: 143.4 kB / 0.5623 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.3338, allocations: 27.91 kB / 0.5623 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.3339, allocations: 4 kB / 0.5623 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3339, allocations: 7.984 kB / 0.5623 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.765e-05/0.334, allocations: 19.86 kB / 0.5623 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.334, allocations: 7.938 kB / 0.5623 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.3343, allocations: 163.8 kB / 0.5625 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3343, allocations: 3.984 kB / 0.5625 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.3343, allocations: 15.88 kB / 0.5625 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3345, allocations: 126.6 kB / 0.5626 GB, free: 3.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3345, allocations: 0 / 0.5626 GB, free: 3.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3345, allocations: 4 kB / 0.5626 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3346, allocations: 0 / 0.5626 GB, free: 3.574 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.0004513/0.335, allocations: 371 kB / 0.563 GB, free: 3.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.335, allocations: 8.031 kB / 0.563 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3351, allocations: 4.938 kB / 0.563 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3352, allocations: 172.3 kB / 0.5631 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3352, allocations: 8.375 kB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3352, allocations: 384 / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3354, allocations: 62.23 kB / 0.5632 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3354, allocations: 3.938 kB / 0.5632 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.3355, allocations: 27.98 kB / 0.5632 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.3357, allocations: 173.6 kB / 0.5634 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3359, allocations: 50.55 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.3359, allocations: 24.8 kB / 0.5635 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.3362, allocations: 113.1 kB / 0.5636 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3362, allocations: 30.84 kB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3362, allocations: 0 / 0.5636 GB, free: 2.367 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.1492/0.4854, allocations: 6.381 MB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4854, allocations: 59.34 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.4855, allocations: 109.8 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.4856, allocations: 33.7 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.4856, allocations: 80.14 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4857, allocations: 67.42 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4859, allocations: 89.59 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4861, allocations: 314.8 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.4867, allocations: 235.8 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.4873, allocations: 231.8 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.4896, allocations: 0.5573 MB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4896, allocations: 3.984 kB / 0.5716 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00201/0.4916, allocations: 0.6026 MB / 0.5722 GB, free: 9.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4916, allocations: 8 kB / 0.5722 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4916, allocations: 3.938 kB / 0.5722 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4916, allocations: 4 kB / 0.5722 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.4923, allocations: 103.8 kB / 0.5723 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.4923, allocations: 4 kB / 0.5723 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.4928, allocations: 27.95 kB / 0.5723 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.4929, allocations: 31.94 kB / 0.5723 GB, free: 9.352 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.0001952/0.4931, allocations: 121.7 kB / 0.5724 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.4931, allocations: 11.95 kB / 0.5725 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.4954, allocations: 0.7254 MB / 0.5732 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4954, allocations: 0 / 0.5732 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4954, allocations: 0 / 0.5732 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4954, allocations: 4 kB / 0.5732 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.4998, allocations: 1.153 MB / 0.5743 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4998, allocations: 11.92 kB / 0.5743 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.5004, allocations: 96.05 kB / 0.5744 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5004, allocations: 7.984 kB / 0.5744 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.5004, allocations: 31.95 kB / 0.5744 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.5004, allocations: 0 / 0.5744 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5004, allocations: 7.938 kB / 0.5744 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.5022, allocations: 0.5771 MB / 0.575 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.5023, allocations: 89.06 kB / 0.5751 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.5023, allocations: 12 kB / 0.5751 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.5028, allocations: 23.95 kB / 0.5751 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.5028, allocations: 19.92 kB / 0.5751 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.5029, allocations: 27.95 kB / 0.5752 GB, free: 6.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.5029, allocations: 83.28 kB / 0.5753 GB, free: 6.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5029, allocations: 4 kB / 0.5753 GB, free: 6.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0018/0.5047, allocations: 0.6521 MB / 0.5759 GB, free: 5.559 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.003117/0.5078, allocations: 298.5 kB / 0.5762 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.5091, allocations: 447.5 kB / 0.5766 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5091, allocations: 3.938 kB / 0.5766 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.5097, allocations: 195.7 kB / 0.5768 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.51, allocations: 8 kB / 0.5768 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5126, allocations: 0.5294 MB / 0.5773 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.513, allocations: 0.7003 MB / 0.578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.5134, allocations: 124.9 kB / 0.5781 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5138, allocations: 91.28 kB / 0.5782 GB, free: 3.098 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5138, allocations: 0 / 0.5782 GB, free: 3.098 MB / 414.1 MB Notification: Performance of Templates: time 0.08095/0.5947, allocations: 57.58 MB / 0.6344 GB, free: 9.422 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.946879778988659]