Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.007166/0.007166, allocations: 106.5 kB / 21.98 MB, free: 5.227 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.001813/0.001813, allocations: 216.4 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.419/1.419, allocations: 230.5 MB / 258.9 MB, free: 8 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.2233/0.2233, allocations: 46.94 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.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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [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.002388/0.002388, allocations: 79.86 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3254, allocations: 66.09 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001635/0.3271, allocations: 0.5413 MB / 0.5633 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.3278, allocations: 414.7 kB / 0.5636 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.3279, allocations: 0 / 0.5636 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3279, allocations: 3.938 kB / 0.5637 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.339e-05/0.3279, allocations: 0 / 0.5637 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.3284, allocations: 147.4 kB / 0.5638 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.3285, allocations: 35.84 kB / 0.5638 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3285, allocations: 0 / 0.5638 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.3285, allocations: 19.92 kB / 0.5638 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.3286, allocations: 19.92 kB / 0.5639 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.3286, allocations: 0 / 0.5639 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.3289, allocations: 159.8 kB / 0.564 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3289, allocations: 7.984 kB / 0.564 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.3289, allocations: 23.86 kB / 0.564 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3291, allocations: 130.2 kB / 0.5642 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3291, allocations: 0 / 0.5642 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3291, allocations: 0 / 0.5642 GB, free: 2.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3291, allocations: 0 / 0.5642 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.0004113/0.3295, allocations: 290 kB / 0.5644 GB, free: 2.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3296, allocations: 8.031 kB / 0.5645 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3296, allocations: 8.891 kB / 0.5645 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3297, allocations: 106.5 kB / 0.5646 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3298, allocations: 20.36 kB / 0.5646 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.3298, allocations: 8.312 kB / 0.5646 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3299, allocations: 62.23 kB / 0.5647 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.33, allocations: 11.88 kB / 0.5647 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.33, allocations: 0 / 0.5647 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.33, allocations: 0 / 0.5647 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.3301, allocations: 47.95 kB / 0.5647 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.3303, allocations: 144.7 kB / 0.5648 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3304, allocations: 78.55 kB / 0.5649 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.3304, allocations: 24.86 kB / 0.5649 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.3307, allocations: 31.94 kB / 0.565 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3307, allocations: 42.44 kB / 0.565 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3307, allocations: 0 / 0.565 GB, free: 1.781 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.1256/0.4563, allocations: 5.612 MB / 0.5705 GB, free: 12.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4563, allocations: 59.27 kB / 0.5706 GB, free: 12.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.4564, allocations: 93.8 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.4565, allocations: 33.7 kB / 0.5707 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.4565, allocations: 84.64 kB / 0.5708 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.4566, allocations: 87.25 kB / 0.5708 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4567, allocations: 57.67 kB / 0.5709 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4568, allocations: 322.8 kB / 0.5712 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.4572, allocations: 111.9 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.4575, allocations: 115.9 kB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.4589, allocations: 325 kB / 0.5717 GB, free: 10.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4589, allocations: 0 / 0.5717 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001185/0.4601, allocations: 357.2 kB / 0.5721 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4601, allocations: 4 kB / 0.5721 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4601, allocations: 0 / 0.5721 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4601, allocations: 4 kB / 0.5721 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.4605, allocations: 79.91 kB / 0.5722 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4605, allocations: 4 kB / 0.5722 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.4607, allocations: 23.97 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.4608, allocations: 27.86 kB / 0.5722 GB, free: 10.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 (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.0001186/0.4609, allocations: 113.8 kB / 0.5723 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4609, allocations: 7.953 kB / 0.5723 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.4623, allocations: 429.8 kB / 0.5727 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4623, allocations: 0 / 0.5727 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4623, allocations: 4 kB / 0.5727 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4623, allocations: 7.984 kB / 0.5727 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.4645, allocations: 0.7401 MB / 0.5735 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4645, allocations: 11.98 kB / 0.5735 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4648, allocations: 75.94 kB / 0.5736 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4648, allocations: 3.984 kB / 0.5736 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4648, allocations: 23.86 kB / 0.5736 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4648, allocations: 0 / 0.5736 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4648, allocations: 4 kB / 0.5736 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.466, allocations: 421.2 kB / 0.574 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.466, allocations: 11.95 kB / 0.574 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.466, allocations: 4 kB / 0.574 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.4662, allocations: 23.97 kB / 0.574 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.4662, allocations: 15.97 kB / 0.574 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4662, allocations: 19.98 kB / 0.5741 GB, free: 8.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.4663, allocations: 79.22 kB / 0.5741 GB, free: 8.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4663, allocations: 96 / 0.5741 GB, free: 8.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001512/0.4678, allocations: 0.6362 MB / 0.5748 GB, free: 7.609 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.002837/0.4706, allocations: 290.6 kB / 0.575 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007952/0.4714, allocations: 263.6 kB / 0.5753 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4714, allocations: 3.938 kB / 0.5753 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.4718, allocations: 127.8 kB / 0.5754 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.472, allocations: 8.109 kB / 0.5754 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.473, allocations: 357.1 kB / 0.5758 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4733, allocations: 0.697 MB / 0.5764 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4734, allocations: 51.39 kB / 0.5765 GB, free: 5.754 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4734, allocations: 0 / 0.5765 GB, free: 5.754 MB / 414.1 MB Notification: Performance of Templates: time 0.02323/0.4967, allocations: 14.17 MB / 0.5903 GB, free: 7.617 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 10.173652173951268]