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.006595/0.006595, allocations: 110.1 kB / 21.98 MB, free: 5.18 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.001598/0.001598, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.433/1.433, allocations: 230.5 MB / 258.9 MB, free: 7.988 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.2288/0.2288, allocations: 46.93 MB / 362.3 MB, free: 4.191 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.002356/0.002356, allocations: 87.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3076, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001812/0.3094, allocations: 0.5381 MB / 0.5633 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.3102, allocations: 410.7 kB / 0.5636 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.3103, allocations: 0 / 0.5636 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.3103, allocations: 4 kB / 0.5636 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.3103, allocations: 7.938 kB / 0.5637 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.3108, allocations: 143.4 kB / 0.5638 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.3109, allocations: 27.86 kB / 0.5638 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.311, allocations: 0 / 0.5638 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.311, allocations: 27.84 kB / 0.5638 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.311, allocations: 11.92 kB / 0.5639 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3111, allocations: 4 kB / 0.5639 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.3113, allocations: 159.8 kB / 0.564 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3114, allocations: 11.98 kB / 0.564 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3114, allocations: 15.88 kB / 0.564 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.3116, allocations: 126.2 kB / 0.5642 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3116, allocations: 0 / 0.5642 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3116, allocations: 0 / 0.5642 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3116, allocations: 0 / 0.5642 GB, free: 2.773 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.0004621/0.3121, allocations: 293.9 kB / 0.5644 GB, free: 2.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3121, allocations: 8.031 kB / 0.5644 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.3122, allocations: 4.938 kB / 0.5645 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3123, allocations: 118.5 kB / 0.5646 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3123, allocations: 384 / 0.5646 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.3123, allocations: 4.375 kB / 0.5646 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3125, allocations: 58.17 kB / 0.5646 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3125, allocations: 7.875 kB / 0.5646 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3125, allocations: 0 / 0.5646 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3125, allocations: 4 kB / 0.5646 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.3126, allocations: 27.98 kB / 0.5647 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3128, allocations: 132.8 kB / 0.5648 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.313, allocations: 62.58 kB / 0.5648 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.3131, allocations: 24.84 kB / 0.5649 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3133, allocations: 23.97 kB / 0.5649 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3133, allocations: 34.56 kB / 0.5649 GB, free: 1.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3133, allocations: 0 / 0.5649 GB, free: 1.863 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.1349/0.4483, allocations: 6.4 MB / 0.5712 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.4483, allocations: 55.41 kB / 0.5712 GB, free: 11.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.4484, allocations: 97.86 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.4485, allocations: 33.69 kB / 0.5714 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.4485, allocations: 84.14 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.4486, allocations: 63.44 kB / 0.5715 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.4488, allocations: 89.59 kB / 0.5716 GB, free: 10.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4489, allocations: 334.7 kB / 0.5719 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.4495, allocations: 227.8 kB / 0.5721 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.4501, allocations: 231.8 kB / 0.5723 GB, free: 10.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.4522, allocations: 0.5575 MB / 0.5729 GB, free: 9.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4522, allocations: 0 / 0.5729 GB, free: 9.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001891/0.4541, allocations: 0.6084 MB / 0.5735 GB, free: 9.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4541, allocations: 4 kB / 0.5735 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4541, allocations: 3.984 kB / 0.5735 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4541, allocations: 4 kB / 0.5735 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.4548, allocations: 107.8 kB / 0.5736 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4548, allocations: 3.984 kB / 0.5736 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.4553, allocations: 23.97 kB / 0.5736 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.4553, allocations: 35.94 kB / 0.5737 GB, free: 8.832 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.0001536/0.4555, allocations: 117.8 kB / 0.5738 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.4555, allocations: 7.953 kB / 0.5738 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.4577, allocations: 0.7357 MB / 0.5745 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.4578, allocations: 4 kB / 0.5745 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4578, allocations: 256 / 0.5745 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4578, allocations: 3.984 kB / 0.5745 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.462, allocations: 1.117 MB / 0.5756 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.462, allocations: 0 / 0.5756 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.4625, allocations: 107.8 kB / 0.5757 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.4625, allocations: 4 kB / 0.5757 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.4626, allocations: 23.95 kB / 0.5757 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.4626, allocations: 4 kB / 0.5757 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4626, allocations: 0 / 0.5757 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4643, allocations: 0.5892 MB / 0.5763 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.4643, allocations: 7.953 kB / 0.5763 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.4644, allocations: 8 kB / 0.5763 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.4648, allocations: 27.95 kB / 0.5763 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.4649, allocations: 16.39 kB / 0.5764 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.4649, allocations: 31.95 kB / 0.5764 GB, free: 5.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.465, allocations: 83.28 kB / 0.5765 GB, free: 5.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.465, allocations: 3.938 kB / 0.5765 GB, free: 5.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4668, allocations: 0.6479 MB / 0.5771 GB, free: 5.184 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.002969/0.4698, allocations: 306.5 kB / 0.5774 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.4711, allocations: 447.5 kB / 0.5778 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4711, allocations: 0 / 0.5778 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.4716, allocations: 188.1 kB / 0.578 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4719, allocations: 12 kB / 0.578 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4744, allocations: 0.5542 MB / 0.5786 GB, free: 3.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4747, allocations: 0.6926 MB / 0.5792 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.4751, allocations: 91.28 kB / 0.5793 GB, free: 2.816 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4751, allocations: 4 kB / 0.5793 GB, free: 2.812 MB / 414.1 MB Notification: Performance of Templates: time 0.02637/0.5014, allocations: 15.96 MB / 0.5949 GB, free: 2.871 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/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: 10.837256533792242]