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.001754/0.001754, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.852/1.852, allocations: 227.4 MB / 246.9 MB, free: 8.969 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3542/0.3542, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 73.7 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002424/0.162, allocations: 0.602 MB / 480.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.163, allocations: 430.9 kB / 481 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.163, allocations: 7.938 kB / 481 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.1631, allocations: 0 / 481 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.686e-05/0.1631, allocations: 0 / 481 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.1637, allocations: 107.2 kB / 481.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.1638, allocations: 27.92 kB / 481.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1639, allocations: 7.984 kB / 481.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.1639, allocations: 19.92 kB / 481.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.164, allocations: 11.92 kB / 481.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.164, allocations: 4 kB / 481.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.1643, allocations: 163.8 kB / 481.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.1644, allocations: 11.97 kB / 481.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1644, allocations: 15.88 kB / 481.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1646, allocations: 87.88 kB / 481.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1646, allocations: 0 / 481.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1646, allocations: 0 / 481.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1646, allocations: 0 / 481.4 MB, free: 4.203 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.0005952/0.1652, allocations: 363.8 kB / 481.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1653, allocations: 8.875 kB / 481.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1653, allocations: 8.844 kB / 481.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1655, allocations: 160.4 kB / 481.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1655, allocations: 384 / 481.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.1655, allocations: 16.31 kB / 482 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1657, allocations: 66.22 kB / 482 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1657, allocations: 11.78 kB / 482 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1657, allocations: 4 kB / 482 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1657, allocations: 4 kB / 482 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.1658, allocations: 39.95 kB / 482.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1662, allocations: 169.6 kB / 482.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1664, allocations: 90.42 kB / 482.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1665, allocations: 36.84 kB / 482.4 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.1668, allocations: 105.1 kB / 482.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.1668, allocations: 30.56 kB / 482.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.1668, allocations: 0 / 482.5 MB, free: 2.934 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.2135/0.3803, allocations: 5.621 MB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.3805, allocations: 55.41 kB / 488.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.3806, allocations: 89.86 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.3807, allocations: 29.7 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.3807, allocations: 84.64 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3809, allocations: 78.84 kB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.3811, allocations: 57.67 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3812, allocations: 322.8 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.3819, allocations: 115.9 kB / 488.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.3825, allocations: 119.8 kB / 489 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.3853, allocations: 327.6 kB / 489.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3854, allocations: 4 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00228/0.3876, allocations: 353.2 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.3877, allocations: 4 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3877, allocations: 3.984 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.3878, allocations: 0 / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.3885, allocations: 87.84 kB / 489.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3885, allocations: 0 / 489.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.3889, allocations: 27.97 kB / 489.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.389, allocations: 19.92 kB / 489.9 MB, free: 11.47 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.0002085/0.3892, allocations: 117.8 kB / 490 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.3893, allocations: 7.906 kB / 490 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.392, allocations: 425.9 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.392, allocations: 0 / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.392, allocations: 0 / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.3921, allocations: 7.969 kB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.3959, allocations: 0.7873 MB / 491.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.396, allocations: 0 / 491.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.3965, allocations: 83.86 kB / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.3966, allocations: 0 / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.3966, allocations: 11.98 kB / 491.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.3966, allocations: 4 kB / 491.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.3967, allocations: 4 kB / 491.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.3988, allocations: 429.9 kB / 491.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.3989, allocations: 89 kB / 491.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.399, allocations: 4 kB / 491.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3994, allocations: 27.91 kB / 491.8 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3994, allocations: 11.98 kB / 491.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.3995, allocations: 15.98 kB / 491.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.3996, allocations: 87.22 kB / 491.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3996, allocations: 0 / 491.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002884/0.4025, allocations: 0.6327 MB / 492.6 MB, free: 8.633 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.006019/0.4085, allocations: 283 kB / 492.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4102, allocations: 257.1 kB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.4102, allocations: 0 / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006695/0.4109, allocations: 135.9 kB / 493.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.4114, allocations: 8 kB / 493.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4131, allocations: 398.7 kB / 493.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.4135, allocations: 0.6933 MB / 494.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.4137, allocations: 47.41 kB / 494.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of SimCode: time 3.507e-06/0.4138, allocations: 0 / 494.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of Templates: time 0.03774/0.4515, allocations: 14.14 MB / 0.4966 GB, free: 8.648 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