Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 46.96 MB / 361.6 MB, free: 4.035 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001725/0.3333, allocations: 0.5226 MB / 0.5623 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.3341, allocations: 374.9 kB / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3341, allocations: 0 / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3341, allocations: 3.938 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.3342, allocations: 0 / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.3347, allocations: 155.3 kB / 0.5628 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.3347, allocations: 23.92 kB / 0.5629 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.3348, allocations: 4 kB / 0.5629 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.784e-05/0.3348, allocations: 19.97 kB / 0.5629 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.3349, allocations: 15.88 kB / 0.5629 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3349, allocations: 4 kB / 0.5629 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.3351, allocations: 143.8 kB / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3352, allocations: 15.92 kB / 0.563 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.3352, allocations: 11.94 kB / 0.5631 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3354, allocations: 126.2 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.38e-06/0.3354, allocations: 4 kB / 0.5632 GB, free: 2.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3354, allocations: 0 / 0.5632 GB, free: 2.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000466/0.3359, allocations: 286 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3359, allocations: 12.03 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3359, allocations: 4.891 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3361, allocations: 114.5 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3361, allocations: 8.375 kB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.3361, allocations: 12.38 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3363, allocations: 66.78 kB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3363, allocations: 3.938 kB / 0.5637 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3363, allocations: 8 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3363, allocations: 0 / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.799e-05/0.3364, allocations: 39.95 kB / 0.5637 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.3365, allocations: 125.2 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3367, allocations: 78.55 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.3367, allocations: 27.92 kB / 0.5639 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.337, allocations: 31.95 kB / 0.564 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.337, allocations: 34.56 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.337, allocations: 0 / 0.564 GB, free: 1.828 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1368/0.4738, allocations: 5.63 MB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4738, allocations: 51.41 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.4739, allocations: 93.86 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4739, allocations: 29.7 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.474, allocations: 80.52 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.4741, allocations: 87.25 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.4742, allocations: 61.67 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4743, allocations: 322.8 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.4747, allocations: 116 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.475, allocations: 111.9 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.4764, allocations: 324.2 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4764, allocations: 0 / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0012/0.4776, allocations: 365.2 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4777, allocations: 4 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4777, allocations: 0 / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4777, allocations: 0 / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.4781, allocations: 87.84 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4781, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4783, allocations: 27.97 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.4783, allocations: 11.98 kB / 0.5712 GB, free: 10.37 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 (23): * Single equations (assignments): 23 * 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.0001309/0.4785, allocations: 121.8 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.4785, allocations: 11.94 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.4799, allocations: 432.7 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4799, allocations: 3.938 kB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4799, allocations: 0 / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4799, allocations: 11.98 kB / 0.5717 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4822, allocations: 0.6866 MB / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4822, allocations: 0 / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.4826, allocations: 83.92 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4826, allocations: 4 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4826, allocations: 19.92 kB / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4826, allocations: 0 / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4826, allocations: 0 / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.4838, allocations: 420.8 kB / 0.5729 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.4839, allocations: 15.88 kB / 0.5729 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.4839, allocations: 4 kB / 0.5729 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4841, allocations: 27.97 kB / 0.573 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.4841, allocations: 15.91 kB / 0.573 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.4842, allocations: 16 kB / 0.573 GB, free: 8.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.4842, allocations: 79.27 kB / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4842, allocations: 0 / 0.5731 GB, free: 8.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001695/0.4859, allocations: 0.6323 MB / 0.5737 GB, free: 7.723 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003062/0.489, allocations: 294.6 kB / 0.574 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.4897, allocations: 259.6 kB / 0.5742 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4897, allocations: 0 / 0.5742 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4901, allocations: 131.9 kB / 0.5743 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4904, allocations: 12 kB / 0.5744 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.4913, allocations: 327.4 kB / 0.5747 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.4914, allocations: 83.98 kB / 0.5747 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.4916, allocations: 77.08 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4918, allocations: 43.39 kB / 0.5749 GB, free: 6.453 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4918, allocations: 0 / 0.5749 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Templates: time 0.07134/0.5631, allocations: 54.14 MB / 0.6277 GB, free: 288 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.485980947007192]