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.001331/0.001331, allocations: 111.1 kB / 18.45 MB, free: 4.566 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.001429/0.001429, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2248/0.2248, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.001926/0.001926, allocations: 59.91 kB / 0.4921 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 65.99 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001761/0.1486, allocations: 0.532 MB / 0.557 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.1495, allocations: 415.3 kB / 0.5574 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1495, allocations: 0 / 0.5574 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.1495, allocations: 3.938 kB / 0.5574 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.391e-05/0.1495, allocations: 0 / 0.5574 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.1501, allocations: 143.6 kB / 0.5576 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.1501, allocations: 35.86 kB / 0.5576 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1502, allocations: 0 / 0.5576 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.1502, allocations: 15.92 kB / 0.5576 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.1503, allocations: 23.91 kB / 0.5576 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1503, allocations: 0 / 0.5576 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1506, allocations: 163.8 kB / 0.5578 GB, free: 4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.1506, allocations: 4 kB / 0.5578 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1507, allocations: 19.86 kB / 0.5578 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1509, allocations: 131.6 kB / 0.5579 GB, free: 3.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1509, allocations: 4 kB / 0.5579 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1509, allocations: 0 / 0.5579 GB, free: 3.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1509, allocations: 0 / 0.5579 GB, free: 3.844 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.0004986/0.1514, allocations: 371.1 kB / 0.5583 GB, free: 3.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1514, allocations: 8.031 kB / 0.5583 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1515, allocations: 8.875 kB / 0.5583 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.1516, allocations: 164.4 kB / 0.5585 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1516, allocations: 4.312 kB / 0.5585 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.1517, allocations: 12.38 kB / 0.5585 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1518, allocations: 66.17 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1519, allocations: 3.938 kB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1519, allocations: 4 kB / 0.5586 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1519, allocations: 11.92 kB / 0.5586 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.152, allocations: 35.97 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1522, allocations: 181.5 kB / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1523, allocations: 78.55 kB / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1524, allocations: 32.84 kB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.1527, allocations: 101.1 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1527, allocations: 34.56 kB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1527, allocations: 3.938 kB / 0.559 GB, free: 2.566 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.1408/0.2935, allocations: 5.617 MB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2936, allocations: 55.27 kB / 0.5645 GB, free: 12.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.2937, allocations: 97.86 kB / 0.5646 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2937, allocations: 25.7 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.2938, allocations: 80.52 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.2938, allocations: 83.45 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.294, allocations: 61.67 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2941, allocations: 322.8 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.2945, allocations: 111.9 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2949, allocations: 119.3 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.2963, allocations: 316.6 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2963, allocations: 0 / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001258/0.2976, allocations: 360.2 kB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2976, allocations: 11.98 kB / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2976, allocations: 0 / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2976, allocations: 0 / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.298, allocations: 75.92 kB / 0.5661 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.298, allocations: 0 / 0.5661 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2982, allocations: 27.97 kB / 0.5662 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.2983, allocations: 27.89 kB / 0.5662 GB, free: 11.12 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.0001269/0.2984, allocations: 128 kB / 0.5663 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.2984, allocations: 7.953 kB / 0.5663 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.2999, allocations: 433.8 kB / 0.5667 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2999, allocations: 4 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2999, allocations: 0 / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2999, allocations: 3.984 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.3023, allocations: 0.7806 MB / 0.5675 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3023, allocations: 3.938 kB / 0.5675 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3026, allocations: 75.98 kB / 0.5676 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3026, allocations: 7.938 kB / 0.5676 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3026, allocations: 15.98 kB / 0.5676 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3026, allocations: 3.938 kB / 0.5676 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3026, allocations: 0 / 0.5676 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3038, allocations: 427 kB / 0.568 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3039, allocations: 85.06 kB / 0.5681 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3039, allocations: 7.938 kB / 0.5681 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3041, allocations: 27.97 kB / 0.5681 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3041, allocations: 19.97 kB / 0.5681 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.3041, allocations: 8 kB / 0.5682 GB, free: 8.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.3042, allocations: 83.27 kB / 0.5682 GB, free: 8.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3042, allocations: 3.938 kB / 0.5682 GB, free: 8.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001887/0.3061, allocations: 0.6284 MB / 0.5689 GB, free: 8.273 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.003226/0.3093, allocations: 298.7 kB / 0.5691 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.3102, allocations: 258.8 kB / 0.5694 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3102, allocations: 0 / 0.5694 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.3106, allocations: 127.8 kB / 0.5695 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3109, allocations: 4 kB / 0.5695 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3119, allocations: 353.1 kB / 0.5698 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3122, allocations: 0.7009 MB / 0.5705 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3124, allocations: 51.39 kB / 0.5706 GB, free: 6.422 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3124, allocations: 0 / 0.5706 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Templates: time 0.02374/0.3361, allocations: 14.16 MB / 0.5844 GB, free: 8.289 MB / 446.1 MB " [Timeout remaining time 660] 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 -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: 11.1615896380099]