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.00128/0.00128, allocations: 113.1 kB / 21.85 MB, free: 72 kB / 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.001441/0.001441, allocations: 212.5 kB / 25.13 MB, free: 3.605 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.413/1.413, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2215/0.2215, allocations: 46.93 MB / 362 MB, free: 4.23 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.003296/0.003296, allocations: 79.84 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2946, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001749/0.2963, allocations: 0.5219 MB / 0.5628 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008866/0.2972, allocations: 422.7 kB / 0.5632 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.2973, allocations: 0 / 0.5632 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.2973, allocations: 3.938 kB / 0.5632 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.2973, allocations: 0 / 0.5632 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.2978, allocations: 146.8 kB / 0.5634 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.2979, allocations: 23.92 kB / 0.5634 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.2979, allocations: 4 kB / 0.5634 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.2979, allocations: 19.92 kB / 0.5634 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.298, allocations: 19.84 kB / 0.5634 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.298, allocations: 4 kB / 0.5634 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.2983, allocations: 143.8 kB / 0.5636 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.2983, allocations: 3.984 kB / 0.5636 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.2983, allocations: 19.86 kB / 0.5636 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2985, allocations: 118.4 kB / 0.5637 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2985, allocations: 0 / 0.5637 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2985, allocations: 0 / 0.5637 GB, free: 2.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2985, allocations: 0 / 0.5637 GB, free: 2.84 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.0004625/0.299, allocations: 297.9 kB / 0.564 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.299, allocations: 12.03 kB / 0.564 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.2991, allocations: 4.875 kB / 0.564 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2992, allocations: 118.5 kB / 0.5641 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2992, allocations: 4.312 kB / 0.5641 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2992, allocations: 4.375 kB / 0.5641 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2994, allocations: 50.25 kB / 0.5642 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2994, allocations: 7.922 kB / 0.5642 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.2994, allocations: 4 kB / 0.5642 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2994, allocations: 4 kB / 0.5642 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.2995, allocations: 31.97 kB / 0.5642 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.2997, allocations: 140.7 kB / 0.5644 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2999, allocations: 50.55 kB / 0.5644 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.2999, allocations: 20.86 kB / 0.5644 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.3001, allocations: 35.94 kB / 0.5645 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3002, allocations: 34.56 kB / 0.5645 GB, free: 1.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3002, allocations: 0 / 0.5645 GB, free: 1.914 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.1264/0.4266, allocations: 6.394 MB / 0.5708 GB, free: 11.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4266, allocations: 55.41 kB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.4267, allocations: 101.8 kB / 0.5709 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.4268, allocations: 37.64 kB / 0.5709 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.4268, allocations: 88.14 kB / 0.571 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.4269, allocations: 67.42 kB / 0.5711 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4271, allocations: 85.59 kB / 0.5712 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4272, allocations: 326.8 kB / 0.5715 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.4278, allocations: 223.8 kB / 0.5717 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.4284, allocations: 235.8 kB / 0.5719 GB, free: 10.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.4306, allocations: 0.5536 MB / 0.5725 GB, free: 9.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4306, allocations: 0 / 0.5725 GB, free: 9.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001884/0.4325, allocations: 0.6087 MB / 0.5731 GB, free: 9.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4325, allocations: 8 kB / 0.5731 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4325, allocations: 0 / 0.5731 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4325, allocations: 3.938 kB / 0.5731 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.4332, allocations: 111.8 kB / 0.5732 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4332, allocations: 0 / 0.5732 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.4336, allocations: 23.95 kB / 0.5732 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.4337, allocations: 32.19 kB / 0.5732 GB, free: 8.895 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.000153/0.4338, allocations: 125.7 kB / 0.5733 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4339, allocations: 7.953 kB / 0.5734 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.4361, allocations: 0.7318 MB / 0.5741 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4361, allocations: 4 kB / 0.5741 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4361, allocations: 0 / 0.5741 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4361, allocations: 0 / 0.5741 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.4402, allocations: 1.125 MB / 0.5752 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4402, allocations: 0 / 0.5752 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.4408, allocations: 99.8 kB / 0.5753 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4408, allocations: 8.172 kB / 0.5753 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.4408, allocations: 31.95 kB / 0.5753 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4408, allocations: 4 kB / 0.5753 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4408, allocations: 3.938 kB / 0.5753 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.4426, allocations: 0.5805 MB / 0.5759 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.4426, allocations: 11.94 kB / 0.5759 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.4426, allocations: 11.94 kB / 0.5759 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.443, allocations: 27.97 kB / 0.5759 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.4431, allocations: 15.91 kB / 0.5759 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.4431, allocations: 32.42 kB / 0.576 GB, free: 5.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.4432, allocations: 83.28 kB / 0.5761 GB, free: 5.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4432, allocations: 0 / 0.5761 GB, free: 5.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00167/0.4448, allocations: 0.6479 MB / 0.5767 GB, free: 5.234 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.00285/0.4477, allocations: 294.6 kB / 0.577 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.4489, allocations: 451.4 kB / 0.5774 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4489, allocations: 0 / 0.5774 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.4495, allocations: 195.8 kB / 0.5776 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4498, allocations: 8 kB / 0.5776 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4521, allocations: 0.5217 MB / 0.5781 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4525, allocations: 0.6965 MB / 0.5788 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.4529, allocations: 129.2 kB / 0.5789 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.4532, allocations: 95.22 kB / 0.579 GB, free: 2.773 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4532, allocations: 0 / 0.579 GB, free: 2.773 MB / 414.1 MB Notification: Performance of Templates: time 0.0776/0.5308, allocations: 57.62 MB / 0.6353 GB, free: 9.07 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/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: 5.568017919082195]