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.0007699/0.0007699, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001868, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001026/0.001026, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.0023, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9906/0.9906, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08439/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.2824/0.2824, allocations: 34.88 MB / 279.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02822/0.3106, allocations: 13.23 MB / 292.8 MB, free: 6.418 MB / 282.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.532e-06/1.532e-06, allocations: 0 / 294.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.191e-05, allocations: 6.859 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009043/0.0009162, allocations: 0.5729 MB / 294.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004471/0.001363, allocations: 406.4 kB / 295.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.00138, allocations: 0 / 295.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.998e-06/0.001384, allocations: 0 / 295.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.036e-06/0.001392, allocations: 3.938 kB / 295.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.001637, allocations: 119.5 kB / 295.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.001691, allocations: 31.91 kB / 295.2 MB, free: 4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.001729, allocations: 0 / 295.2 MB, free: 4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.001786, allocations: 27.91 kB / 295.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.001844, allocations: 11.98 kB / 295.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.001856, allocations: 0 / 295.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.002083, allocations: 155.8 kB / 295.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.002102, allocations: 11.94 kB / 295.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.002116, allocations: 4 kB / 295.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.002284, allocations: 127.6 kB / 295.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.002295, allocations: 0 / 295.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002295, allocations: 0 / 295.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.002304, allocations: 0 / 295.5 MB, free: 3.668 MB / 282.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.0003415/0.002645, allocations: 285.5 kB / 295.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.002677, allocations: 12.03 kB / 295.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.002706, allocations: 4.938 kB / 295.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.002787, allocations: 105.8 kB / 295.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.002801, allocations: 12.3 kB / 296 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.002825, allocations: 4.375 kB / 296 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.002906, allocations: 56.11 kB / 296 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.002917, allocations: 12.17 kB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.002923, allocations: 384 / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.00293, allocations: 8.109 kB / 296 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.00297, allocations: 23.97 kB / 296.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.491e-05/0.003065, allocations: 80.92 kB / 296.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.003142, allocations: 75.06 kB / 296.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.003165, allocations: 17.23 kB / 296.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.003327, allocations: 31.97 kB / 296.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.003352, allocations: 46.55 kB / 296.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.003353, allocations: 4 kB / 296.3 MB, free: 2.82 MB / 282.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.03439/0.03774, allocations: 4.613 MB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.03777, allocations: 55.41 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.03781, allocations: 94.72 kB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.03783, allocations: 37.69 kB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.03785, allocations: 80.52 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.0379, allocations: 79.27 kB / 301.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.03795, allocations: 53.78 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.03803, allocations: 318.8 kB / 301.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.03807, allocations: 35.97 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.734e-05/0.03812, allocations: 35.98 kB / 301.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.03823, allocations: 114.2 kB / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.03823, allocations: 0 / 301.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001471/0.03838, allocations: 142.6 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.03839, allocations: 4 kB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.03839, allocations: 0 / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.03841, allocations: 3.984 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.03861, allocations: 95.81 kB / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.03862, allocations: 3.938 kB / 302 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.0387, allocations: 27.97 kB / 302.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.03872, allocations: 11.97 kB / 302.1 MB, free: 12.98 MB / 298.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 7.014e-05/0.03879, allocations: 121.8 kB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.03881, allocations: 15.92 kB / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.03904, allocations: 191.2 kB / 302.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.03904, allocations: 4 kB / 302.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.03904, allocations: 0 / 302.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.03905, allocations: 7.984 kB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.03962, allocations: 470.9 kB / 302.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.03962, allocations: 0 / 302.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.03976, allocations: 79.84 kB / 303 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.03977, allocations: 7.953 kB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.03977, allocations: 4 kB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.03978, allocations: 12.05 kB / 303 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.03979, allocations: 4 kB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03979, allocations: 0 / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.03994, allocations: 228.4 kB / 303.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.03995, allocations: 8 kB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.04003, allocations: 27.97 kB / 303.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.04005, allocations: 15.91 kB / 303.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.04006, allocations: 7.984 kB / 303.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.015e-06/0.04007, allocations: 8.859 kB / 303.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04007, allocations: 0 / 303.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007354/0.0408, allocations: 487.5 kB / 303.7 MB, free: 11.24 MB / 298.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.001352/0.04215, allocations: 295.8 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.04231, allocations: 120.6 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.04231, allocations: 4 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.04239, allocations: 76.69 kB / 304.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.04251, allocations: 35.97 kB / 304.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.04284, allocations: 276.8 kB / 304.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.04288, allocations: 67.84 kB / 304.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.04298, allocations: 53.14 kB / 304.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.04309, allocations: 75.33 kB / 304.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.04309, allocations: 0 / 304.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Templates: time 0.04045/0.08355, allocations: 43.97 MB / 348.7 MB, free: 14.29 MB / 346.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.490381320938468]