Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.000986/0.000986, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001658/0.001658, allocations: 165.8 kB / 24.91 MB, free: 8.758 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2988/0.2988, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.488e-05, allocations: 7.078 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001136/0.001151, allocations: 0.5843 MB / 326.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.001743, allocations: 391.3 kB / 326.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.001769, allocations: 0 / 326.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.001785, allocations: 3.938 kB / 326.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.001809, allocations: 0 / 326.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.00217, allocations: 127.5 kB / 327 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.002224, allocations: 23.92 kB / 327.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.002265, allocations: 4.75 kB / 327.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.002306, allocations: 19.97 kB / 327.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.002356, allocations: 23.91 kB / 327.1 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002367, allocations: 0 / 327.1 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.002594, allocations: 155.8 kB / 327.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.002606, allocations: 3.984 kB / 327.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.002621, allocations: 11.94 kB / 327.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.00279, allocations: 159.5 kB / 327.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002792, allocations: 0 / 327.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002792, allocations: 0 / 327.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002796, allocations: 0 / 327.4 MB, free: 5.637 MB / 298.7 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.0002607/0.003056, allocations: 274 kB / 327.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.003088, allocations: 8.031 kB / 327.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.003116, allocations: 8.922 kB / 327.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.997e-05/0.003196, allocations: 109.7 kB / 327.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.003208, allocations: 8.375 kB / 327.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.003228, allocations: 8.359 kB / 327.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.003305, allocations: 62.22 kB / 327.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.003315, allocations: 4.188 kB / 327.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003323, allocations: 384 / 327.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.003332, allocations: 8.125 kB / 327.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.003374, allocations: 23.91 kB / 327.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.003483, allocations: 80.94 kB / 328 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.003558, allocations: 63.52 kB / 328.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.003582, allocations: 20.84 kB / 328.1 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.003722, allocations: 23.97 kB / 328.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.003743, allocations: 42.56 kB / 328.2 MB, free: 4.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.003744, allocations: 0 / 328.2 MB, free: 4.82 MB / 298.7 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.0494/0.05315, allocations: 5.195 MB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.05318, allocations: 55.41 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.05322, allocations: 94.72 kB / 333.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.05324, allocations: 29.7 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.05327, allocations: 84.52 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.05332, allocations: 79.44 kB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.05339, allocations: 49.66 kB / 333.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.05346, allocations: 322.8 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.05352, allocations: 31.98 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.05357, allocations: 43.83 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.05398, allocations: 174 kB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.05398, allocations: 0 / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003042/0.05428, allocations: 174.8 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.0543, allocations: 8 kB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.0543, allocations: 0 / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.05431, allocations: 0 / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.0545, allocations: 83.83 kB / 334.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.05451, allocations: 0 / 334.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.05458, allocations: 27.97 kB / 334.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.0546, allocations: 7.984 kB / 334.6 MB, free: 14.3 MB / 314.7 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 6.954e-05/0.05467, allocations: 121.8 kB / 334.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.0547, allocations: 19.92 kB / 334.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.05511, allocations: 239.1 kB / 335 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.05511, allocations: 4 kB / 335 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.05511, allocations: 0 / 335 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.05511, allocations: 3.984 kB / 335 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.05589, allocations: 0.4902 MB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.05589, allocations: 3.938 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.05603, allocations: 75.84 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.05603, allocations: 4 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.05605, allocations: 16.05 kB / 335.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.05605, allocations: 0 / 335.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.05605, allocations: 0 / 335.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.05637, allocations: 268.2 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.05638, allocations: 11.95 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.0564, allocations: 4 kB / 335.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.05648, allocations: 31.91 kB / 335.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.0565, allocations: 15.97 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.05652, allocations: 11.98 kB / 335.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.522e-06/0.05652, allocations: 8.859 kB / 335.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05652, allocations: 0 / 335.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001037/0.05756, allocations: 0.6245 MB / 336.5 MB, free: 12.29 MB / 314.7 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.001962/0.05952, allocations: 303.7 kB / 336.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.0597, allocations: 120.5 kB / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.0597, allocations: 0 / 337 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.05977, allocations: 68.69 kB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.0599, allocations: 20.2 kB / 337 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.06028, allocations: 263.7 kB / 337.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.06032, allocations: 67.84 kB / 337.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.06046, allocations: 77.14 kB / 337.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.06059, allocations: 79.34 kB / 337.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.06059, allocations: 3.938 kB / 337.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of Templates: time 0.05385/0.1144, allocations: 59.65 MB / 397.2 MB, free: 15.57 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.57127861212939]