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.001284/0.001284, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00141/0.00141, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.587/1.587, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2338/0.2338, allocations: 46.89 MB / 358.1 MB, free: 10.6 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.002266/0.002266, allocations: 83.86 kB / 0.4923 GB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 65.98 MB / 0.5568 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001757/0.128, allocations: 0.533 MB / 0.5573 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.1288, allocations: 415.3 kB / 0.5577 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1288, allocations: 4 kB / 0.5577 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1288, allocations: 3.938 kB / 0.5577 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.858e-05/0.1289, allocations: 0 / 0.5577 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.1294, allocations: 139.6 kB / 0.5578 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.1294, allocations: 27.91 kB / 0.5579 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.1295, allocations: 7.984 kB / 0.5579 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.6e-05/0.1295, allocations: 15.94 kB / 0.5579 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.1296, allocations: 23.91 kB / 0.5579 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1296, allocations: 4 kB / 0.5579 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.1299, allocations: 163.8 kB / 0.5581 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.1299, allocations: 11.98 kB / 0.5581 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1299, allocations: 11.88 kB / 0.5581 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.1302, allocations: 127.6 kB / 0.5582 GB, free: 4.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1302, allocations: 0 / 0.5582 GB, free: 4.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1302, allocations: 0 / 0.5582 GB, free: 4.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1302, allocations: 4 kB / 0.5582 GB, free: 4.504 MB / 414.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.0004779/0.1307, allocations: 363.1 kB / 0.5586 GB, free: 4.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1307, allocations: 12.03 kB / 0.5586 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1308, allocations: 8.891 kB / 0.5586 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.1309, allocations: 168.3 kB / 0.5588 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1309, allocations: 12.25 kB / 0.5588 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.131, allocations: 4.375 kB / 0.5588 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1311, allocations: 66.22 kB / 0.5588 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1311, allocations: 7.938 kB / 0.5588 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1311, allocations: 0 / 0.5588 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1311, allocations: 0 / 0.5588 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.1312, allocations: 47.89 kB / 0.5589 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1315, allocations: 177.6 kB / 0.5591 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1316, allocations: 85.84 kB / 0.5591 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1317, allocations: 28.84 kB / 0.5592 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.1319, allocations: 105.1 kB / 0.5593 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.132, allocations: 34.56 kB / 0.5593 GB, free: 3.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.132, allocations: 4 kB / 0.5593 GB, free: 3.227 MB / 414.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.1319/0.2639, allocations: 5.609 MB / 0.5648 GB, free: 13.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2639, allocations: 59.25 kB / 0.5648 GB, free: 13.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.264, allocations: 97.86 kB / 0.5649 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.264, allocations: 29.7 kB / 0.565 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.2641, allocations: 80.52 kB / 0.565 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.2642, allocations: 79.27 kB / 0.5651 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.2643, allocations: 57.67 kB / 0.5652 GB, free: 13.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2644, allocations: 326.8 kB / 0.5655 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.2648, allocations: 112 kB / 0.5656 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.2651, allocations: 111.9 kB / 0.5657 GB, free: 12.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.2666, allocations: 333 kB / 0.566 GB, free: 12.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2666, allocations: 0 / 0.566 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001216/0.2678, allocations: 353.2 kB / 0.5663 GB, free: 11.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.2678, allocations: 4 kB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2678, allocations: 7.984 kB / 0.5664 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2679, allocations: 0 / 0.5664 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.2683, allocations: 87.84 kB / 0.5664 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2683, allocations: 0 / 0.5664 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2685, allocations: 27.97 kB / 0.5665 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.2685, allocations: 23.92 kB / 0.5665 GB, free: 11.77 MB / 430.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.0001244/0.2686, allocations: 113.8 kB / 0.5666 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2687, allocations: 7.953 kB / 0.5666 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2701, allocations: 437.8 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2701, allocations: 4 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2701, allocations: 0 / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2701, allocations: 3.984 kB / 0.567 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2724, allocations: 0.7797 MB / 0.5678 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2724, allocations: 3.938 kB / 0.5678 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.2727, allocations: 71.88 kB / 0.5679 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2727, allocations: 7.922 kB / 0.5679 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.2727, allocations: 12 kB / 0.5679 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2727, allocations: 4 kB / 0.5679 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2727, allocations: 3.984 kB / 0.5679 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2739, allocations: 437 kB / 0.5683 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.274, allocations: 85.06 kB / 0.5684 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.274, allocations: 7.984 kB / 0.5684 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2742, allocations: 23.97 kB / 0.5684 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.2742, allocations: 15.98 kB / 0.5684 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2743, allocations: 15.98 kB / 0.5684 GB, free: 9.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.2743, allocations: 79.22 kB / 0.5685 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2743, allocations: 4 kB / 0.5685 GB, free: 9.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001778/0.2761, allocations: 0.6284 MB / 0.5691 GB, free: 8.93 MB / 430.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.003242/0.2793, allocations: 302.5 kB / 0.5694 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.2803, allocations: 255.6 kB / 0.5697 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2803, allocations: 0 / 0.5697 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.2807, allocations: 124 kB / 0.5698 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2809, allocations: 12 kB / 0.5698 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.282, allocations: 360.9 kB / 0.5701 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2823, allocations: 0.697 MB / 0.5708 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2825, allocations: 43.41 kB / 0.5709 GB, free: 7.07 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2825, allocations: 0 / 0.5709 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Templates: time 0.02488/0.3073, allocations: 14.16 MB / 0.5847 GB, free: 8.934 MB / 446.1 MB " [Timeout remaining time 660] 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.121911820955575]