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: 110.5 kB / 21.17 MB, free: 0.7656 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.001423/0.001423, allocations: 216.2 kB / 24.47 MB, free: 4.195 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.429/1.429, allocations: 230.2 MB / 257.8 MB, free: 8.469 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.2236/0.2236, allocations: 46.9 MB / 361.1 MB, free: 4.602 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.002331/0.002331, allocations: 76.16 kB / 0.4967 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2733, allocations: 66 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001565/0.2748, allocations: 0.5343 MB / 0.5617 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000779/0.2756, allocations: 414.7 kB / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.2757, allocations: 0 / 0.5621 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.2757, allocations: 3.938 kB / 0.5621 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.2757, allocations: 4 kB / 0.5621 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.2762, allocations: 139.4 kB / 0.5622 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.2762, allocations: 31.91 kB / 0.5623 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.2763, allocations: 0 / 0.5623 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.2763, allocations: 19.92 kB / 0.5623 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.2764, allocations: 15.92 kB / 0.5623 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.2764, allocations: 0 / 0.5623 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.2766, allocations: 159.8 kB / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2767, allocations: 15.92 kB / 0.5625 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.2767, allocations: 11.94 kB / 0.5625 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2769, allocations: 126.4 kB / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2769, allocations: 0 / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2769, allocations: 0 / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.2769, allocations: 0 / 0.5626 GB, free: 3.539 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.0004963/0.2774, allocations: 379 kB / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2774, allocations: 8.922 kB / 0.563 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2775, allocations: 4.938 kB / 0.563 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2776, allocations: 168.3 kB / 0.5631 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.2776, allocations: 4.375 kB / 0.5631 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.2776, allocations: 4.375 kB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2778, allocations: 54.23 kB / 0.5632 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2778, allocations: 7.938 kB / 0.5632 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2778, allocations: 0 / 0.5632 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2778, allocations: 0 / 0.5632 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.2779, allocations: 27.98 kB / 0.5632 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.2781, allocations: 177.6 kB / 0.5634 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.2783, allocations: 46.56 kB / 0.5635 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.2783, allocations: 20.84 kB / 0.5635 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.2786, allocations: 109.1 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.2786, allocations: 42.56 kB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2786, allocations: 288 / 0.5636 GB, free: 2.328 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.1561/0.4348, allocations: 6.387 MB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4348, allocations: 59.34 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4349, allocations: 101.8 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.435, allocations: 25.7 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.435, allocations: 92.14 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.4351, allocations: 67.42 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.4353, allocations: 81.59 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4354, allocations: 322.8 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.436, allocations: 227.8 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.4366, allocations: 235.8 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.4389, allocations: 0.551 MB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.4389, allocations: 0 / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001954/0.4408, allocations: 0.6144 MB / 0.5722 GB, free: 9.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4408, allocations: 11.94 kB / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4408, allocations: 256 / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4409, allocations: 0 / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.4415, allocations: 107.8 kB / 0.5723 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4416, allocations: 4 kB / 0.5723 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.442, allocations: 27.95 kB / 0.5723 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.4421, allocations: 27.95 kB / 0.5723 GB, free: 9.32 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.0001789/0.4423, allocations: 129.7 kB / 0.5724 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.4423, allocations: 7.953 kB / 0.5725 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.4446, allocations: 0.724 MB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4446, allocations: 7.938 kB / 0.5732 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4446, allocations: 0 / 0.5732 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4446, allocations: 0 / 0.5732 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.4489, allocations: 1.157 MB / 0.5743 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.449, allocations: 4 kB / 0.5743 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.4495, allocations: 99.78 kB / 0.5744 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4496, allocations: 4 kB / 0.5744 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.4496, allocations: 32.14 kB / 0.5744 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4496, allocations: 4 kB / 0.5744 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4496, allocations: 3.938 kB / 0.5744 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4514, allocations: 0.5808 MB / 0.575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.4515, allocations: 89.05 kB / 0.5751 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.4515, allocations: 4.469 kB / 0.5751 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.452, allocations: 31.95 kB / 0.5751 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.452, allocations: 19.92 kB / 0.5751 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.4521, allocations: 27.95 kB / 0.5752 GB, free: 6.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.4521, allocations: 79.28 kB / 0.5752 GB, free: 6.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4521, allocations: 3.938 kB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001662/0.4538, allocations: 0.6557 MB / 0.5759 GB, free: 5.52 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.002979/0.4568, allocations: 294.6 kB / 0.5762 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.458, allocations: 439.5 kB / 0.5766 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.458, allocations: 0 / 0.5766 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.4586, allocations: 203.9 kB / 0.5768 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4589, allocations: 14.81 kB / 0.5768 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.4614, allocations: 0.5216 MB / 0.5773 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4618, allocations: 0.7042 MB / 0.578 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.4622, allocations: 129.1 kB / 0.5781 GB, free: 3.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.4625, allocations: 87.23 kB / 0.5782 GB, free: 3.062 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4625, allocations: 0 / 0.5782 GB, free: 3.062 MB / 414.1 MB Notification: Performance of Templates: time 0.07512/0.5376, allocations: 57.59 MB / 0.6344 GB, free: 9.379 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 gbode -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.710684588178992]