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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 74.8 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 62.45 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001574/0.1092, allocations: 0.526 MB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.1099, allocations: 409.4 kB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.1099, allocations: 0 / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1099, allocations: 0 / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.514e-05/0.11, allocations: 7.938 kB / 482.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1104, allocations: 131.6 kB / 482.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.1105, allocations: 39.91 kB / 482.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1105, allocations: 4 kB / 482.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.1106, allocations: 11.92 kB / 482.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.1106, allocations: 19.92 kB / 482.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1106, allocations: 4 kB / 482.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1109, allocations: 171.7 kB / 482.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.1109, allocations: 0 / 482.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1109, allocations: 19.88 kB / 482.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1111, allocations: 127.7 kB / 482.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1111, allocations: 0 / 482.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1111, allocations: 0 / 482.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1112, allocations: 4 kB / 482.9 MB, free: 3.098 MB / 350.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.0003798/0.1115, allocations: 363.5 kB / 483.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1116, allocations: 8.031 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1116, allocations: 8.844 kB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1117, allocations: 172.2 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1118, allocations: 4.375 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1118, allocations: 8.375 kB / 483.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1119, allocations: 70.05 kB / 483.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1119, allocations: 11.84 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1119, allocations: 8 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.112, allocations: 3.984 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.112, allocations: 43.89 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1122, allocations: 169.7 kB / 483.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1123, allocations: 90.53 kB / 483.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1124, allocations: 28.84 kB / 483.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.1126, allocations: 105.1 kB / 484 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1127, allocations: 30.56 kB / 484 MB, free: 1.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1127, allocations: 0 / 484 MB, free: 1.82 MB / 350.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.1198/0.2324, allocations: 5.623 MB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.2325, allocations: 63.28 kB / 489.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/0.2326, allocations: 89.86 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2326, allocations: 33.7 kB / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.2327, allocations: 80.52 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.2327, allocations: 82.83 kB / 490 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.2328, allocations: 57.8 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2329, allocations: 326.8 kB / 490.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.2333, allocations: 111.9 kB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.2336, allocations: 115.9 kB / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2348, allocations: 327.5 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2348, allocations: 0 / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00107/0.2359, allocations: 345.2 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.236, allocations: 11.94 kB / 491.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.236, allocations: 3.984 kB / 491.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.236, allocations: 4 kB / 491.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.2363, allocations: 75.92 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2364, allocations: 4 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2365, allocations: 19.97 kB / 491.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.2366, allocations: 27.91 kB / 491.4 MB, free: 10.36 MB / 366.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 9.802e-05/0.2367, allocations: 121.8 kB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.2367, allocations: 7.906 kB / 491.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.238, allocations: 430.7 kB / 491.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.238, allocations: 0 / 491.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.238, allocations: 4 kB / 491.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.238, allocations: 0 / 491.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.24, allocations: 0.7758 MB / 492.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.24, allocations: 7.938 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2403, allocations: 75.92 kB / 492.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2403, allocations: 8 kB / 492.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.2403, allocations: 11.98 kB / 492.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2403, allocations: 3.938 kB / 492.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2404, allocations: 4 kB / 492.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2414, allocations: 428.6 kB / 493.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.2414, allocations: 85.02 kB / 493.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2414, allocations: 4 kB / 493.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2416, allocations: 27.97 kB / 493.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2417, allocations: 15.97 kB / 493.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.2417, allocations: 12 kB / 493.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.2417, allocations: 79.28 kB / 493.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2417, allocations: 0 / 493.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001387/0.2431, allocations: 0.6288 MB / 494.1 MB, free: 7.535 MB / 366.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.002686/0.2458, allocations: 299 kB / 494.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.2465, allocations: 255.7 kB / 494.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2465, allocations: 4 kB / 494.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.2468, allocations: 135.8 kB / 494.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2471, allocations: 11.09 kB / 494.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/0.2479, allocations: 335.3 kB / 495.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2482, allocations: 0.697 MB / 495.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.2484, allocations: 77.08 kB / 495.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2485, allocations: 51.39 kB / 495.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2485, allocations: 0 / 495.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of Templates: time 0.2341/0.4826, allocations: 53.86 MB / 0.5369 GB, free: 20.5 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches