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.00076/0.0007601, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008376/0.0008376, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 63.56 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006981/0.1433, allocations: 261.3 kB / 483.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.1441, allocations: 430.9 kB / 483.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1441, allocations: 7.938 kB / 483.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1442, allocations: 0 / 483.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.1442, allocations: 0 / 483.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.1446, allocations: 103.3 kB / 483.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.1447, allocations: 23.98 kB / 483.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.1447, allocations: 7.922 kB / 483.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.1448, allocations: 15.98 kB / 483.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.1448, allocations: 23.86 kB / 483.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1449, allocations: 8 kB / 483.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1451, allocations: 155.8 kB / 484.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1452, allocations: 11.98 kB / 484.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.1452, allocations: 45.56 kB / 484.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1454, allocations: 123.8 kB / 484.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1454, allocations: 4 kB / 484.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1455, allocations: 0 / 484.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1455, allocations: 0 / 484.3 MB, free: 2.98 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.000391/0.1459, allocations: 351.8 kB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1459, allocations: 12.88 kB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.146, allocations: 12.78 kB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1461, allocations: 164.4 kB / 484.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1461, allocations: 4.375 kB / 484.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1461, allocations: 8.375 kB / 484.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1463, allocations: 58.23 kB / 484.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1463, allocations: 11.84 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1463, allocations: 4 kB / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1463, allocations: 0 / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.1464, allocations: 47.89 kB / 484.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1466, allocations: 177.6 kB / 485.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1467, allocations: 86.48 kB / 485.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1468, allocations: 28.84 kB / 485.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.1471, allocations: 121 kB / 485.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1471, allocations: 34.94 kB / 485.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1471, allocations: 0 / 485.4 MB, free: 1.703 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.1427/0.2899, allocations: 5.839 MB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.29, allocations: 63.34 kB / 491.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.2901, allocations: 93.86 kB / 491.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2901, allocations: 29.7 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.2901, allocations: 84.52 kB / 491.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/0.2902, allocations: 78.75 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.2903, allocations: 21.7 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2904, allocations: 322.8 kB / 491.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.2908, allocations: 144 kB / 492 MB, free: 10.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.2912, allocations: 135.9 kB / 492.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2927, allocations: 371.7 kB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2927, allocations: 0 / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001241/0.294, allocations: 405.2 kB / 492.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.294, allocations: 11.94 kB / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.294, allocations: 0 / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.294, allocations: 0 / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.2944, allocations: 95.91 kB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2944, allocations: 4 kB / 493 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.2947, allocations: 31.97 kB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.2947, allocations: 19.92 kB / 493.1 MB, free: 9.902 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.0001133/0.2948, allocations: 125.8 kB / 493.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.2949, allocations: 11.89 kB / 493.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.2964, allocations: 469.9 kB / 493.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2964, allocations: 4 kB / 493.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2964, allocations: 4 kB / 493.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2964, allocations: 3.984 kB / 493.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.2988, allocations: 0.8704 MB / 494.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2988, allocations: 0 / 494.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.2991, allocations: 87.92 kB / 494.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2991, allocations: 4.062 kB / 494.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2991, allocations: 11.98 kB / 494.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2992, allocations: 4 kB / 494.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2992, allocations: 0 / 494.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3004, allocations: 473.9 kB / 495.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.3005, allocations: 89 kB / 495.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3005, allocations: 8 kB / 495.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.3007, allocations: 35.97 kB / 495.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.3008, allocations: 11.98 kB / 495.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.3008, allocations: 19.98 kB / 495.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.096e-05/0.3008, allocations: 75.28 kB / 495.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3008, allocations: 0 / 495.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001717/0.3025, allocations: 0.6327 MB / 496 MB, free: 6.867 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.003346/0.3059, allocations: 298.9 kB / 496.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.3068, allocations: 316.9 kB / 496.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3068, allocations: 0 / 496.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3072, allocations: 152 kB / 496.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3075, allocations: 11.94 kB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3086, allocations: 417 kB / 497.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3088, allocations: 0.6934 MB / 497.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.3091, allocations: 81.08 kB / 497.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3093, allocations: 47.39 kB / 498 MB, free: 4.809 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3093, allocations: 0 / 498 MB, free: 4.809 MB / 366.1 MB Notification: Performance of Templates: time 0.281/0.5903, allocations: 53.84 MB / 0.5389 GB, free: 18.69 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches