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.0009668/0.0009666, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2009/0.2009, allocations: 46.18 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002526, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 63.57 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006826/0.1167, allocations: 265.4 kB / 484 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.1176, allocations: 430.9 kB / 484.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.1177, allocations: 0 / 484.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1177, allocations: 0 / 484.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.1177, allocations: 0 / 484.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1182, allocations: 99.78 kB / 484.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.053e-05/0.1182, allocations: 23.98 kB / 484.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1183, allocations: 7.875 kB / 484.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1183, allocations: 19.97 kB / 484.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.1184, allocations: 27.86 kB / 484.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1184, allocations: 0 / 484.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1187, allocations: 155.8 kB / 484.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1187, allocations: 11.98 kB / 484.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1188, allocations: 45.56 kB / 484.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.119, allocations: 79.88 kB / 484.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.119, allocations: 0 / 484.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.119, allocations: 0 / 484.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.119, allocations: 0 / 484.9 MB, free: 2.973 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.0003662/0.1194, allocations: 351.8 kB / 485.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1194, allocations: 16.86 kB / 485.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.1195, allocations: 8.844 kB / 485.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1196, allocations: 168.3 kB / 485.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1196, allocations: 384 / 485.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1196, allocations: 12.38 kB / 485.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1198, allocations: 58.23 kB / 485.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.1198, allocations: 11.83 kB / 485.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1198, allocations: 0 / 485.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1198, allocations: 7.938 kB / 485.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.1199, allocations: 39.97 kB / 485.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1201, allocations: 181.5 kB / 485.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1202, allocations: 82.55 kB / 485.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1203, allocations: 32.84 kB / 485.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.1206, allocations: 109.1 kB / 485.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1206, allocations: 34.56 kB / 486 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1206, allocations: 3.938 kB / 486 MB, free: 1.699 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.1394/0.26, allocations: 5.84 MB / 491.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2601, allocations: 59.41 kB / 491.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.2602, allocations: 101.8 kB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.2602, allocations: 25.7 kB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.2602, allocations: 80.52 kB / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.2603, allocations: 86.75 kB / 492.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.2604, allocations: 21.7 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2606, allocations: 326.8 kB / 492.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.2609, allocations: 136 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.2613, allocations: 139.9 kB / 492.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2629, allocations: 371.7 kB / 493.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2629, allocations: 0 / 493.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001264/0.2641, allocations: 397.3 kB / 493.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2642, allocations: 4 kB / 493.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2642, allocations: 4 kB / 493.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2642, allocations: 7.922 kB / 493.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.2646, allocations: 91.92 kB / 493.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2646, allocations: 0 / 493.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.2649, allocations: 35.91 kB / 493.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.2649, allocations: 27.91 kB / 493.7 MB, free: 9.891 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 0.0001317/0.265, allocations: 121.8 kB / 493.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.2651, allocations: 7.906 kB / 493.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2666, allocations: 473.8 kB / 494.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2667, allocations: 0 / 494.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2667, allocations: 4 kB / 494.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2667, allocations: 4 kB / 494.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.2692, allocations: 0.8622 MB / 495.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2692, allocations: 7.938 kB / 495.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.2696, allocations: 83.92 kB / 495.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2697, allocations: 12.06 kB / 495.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.2697, allocations: 11.98 kB / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2697, allocations: 0 / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2697, allocations: 0 / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2711, allocations: 481.9 kB / 495.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.2711, allocations: 85.02 kB / 495.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.2712, allocations: 4 kB / 495.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2714, allocations: 39.97 kB / 495.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.2714, allocations: 15.97 kB / 495.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.2715, allocations: 19.92 kB / 495.9 MB, free: 7.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.2715, allocations: 75.28 kB / 496 MB, free: 7.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2715, allocations: 0 / 496 MB, free: 7.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001808/0.2733, allocations: 0.6327 MB / 496.6 MB, free: 6.859 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.003447/0.2768, allocations: 302.9 kB / 496.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.2777, allocations: 320.8 kB / 497.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2778, allocations: 0 / 497.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.2782, allocations: 155.9 kB / 497.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2785, allocations: 8 kB / 497.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2796, allocations: 442.7 kB / 497.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2799, allocations: 0.6933 MB / 498.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2801, allocations: 51.39 kB / 498.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2801, allocations: 4 kB / 498.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of Templates: time 0.02309/0.3032, allocations: 14.19 MB / 0.5007 GB, free: 6.676 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 -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