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: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 72.44 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1296, allocations: 62.45 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001867/0.1315, allocations: 0.5268 MB / 480.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.1323, allocations: 405.5 kB / 480.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.1324, allocations: 0 / 480.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.1325, allocations: 3.938 kB / 480.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.1325, allocations: 0 / 480.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1331, allocations: 147.5 kB / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.1332, allocations: 31.91 kB / 481.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.1332, allocations: 4 kB / 481.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.1332, allocations: 12 kB / 481.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.1333, allocations: 23.84 kB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1333, allocations: 4 kB / 481.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.1336, allocations: 155.8 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1336, allocations: 11.98 kB / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1337, allocations: 19.86 kB / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1339, allocations: 131.9 kB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1339, allocations: 0 / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1339, allocations: 0 / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1339, allocations: 4 kB / 481.5 MB, free: 3.801 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.0004222/0.1344, allocations: 359.6 kB / 481.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1344, allocations: 8.031 kB / 481.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1345, allocations: 8.844 kB / 481.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1346, allocations: 164.3 kB / 482 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1346, allocations: 8.375 kB / 482 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1346, allocations: 4.375 kB / 482 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1348, allocations: 73.66 kB / 482.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1348, allocations: 15.84 kB / 482.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1348, allocations: 0 / 482.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1348, allocations: 0 / 482.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1349, allocations: 47.95 kB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.1351, allocations: 169.7 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1353, allocations: 90.61 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.1353, allocations: 24.84 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.1356, allocations: 113.1 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1357, allocations: 34.5 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1357, allocations: 0 / 482.6 MB, free: 2.527 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.138/0.2737, allocations: 5.635 MB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2738, allocations: 51.41 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.2739, allocations: 97.86 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2739, allocations: 25.7 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.2739, allocations: 80.52 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.274, allocations: 78.84 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2741, allocations: 57.8 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2743, allocations: 326.8 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.2746, allocations: 107.9 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.275, allocations: 119.8 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2764, allocations: 324.4 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2764, allocations: 0 / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001169/0.2776, allocations: 358.3 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2776, allocations: 8 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2777, allocations: 4 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2777, allocations: 0 / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.2781, allocations: 79.91 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2781, allocations: 3.938 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2783, allocations: 23.97 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2783, allocations: 19.92 kB / 489.9 MB, free: 11.07 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.0001063/0.2784, allocations: 121.8 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2785, allocations: 7.906 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2799, allocations: 428.8 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2799, allocations: 4 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2799, allocations: 0 / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.28, allocations: 7.922 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.2823, allocations: 0.7834 MB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2823, allocations: 0 / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.2826, allocations: 79.92 kB / 491.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2826, allocations: 4 kB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2826, allocations: 11.98 kB / 491.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2827, allocations: 8 kB / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2827, allocations: 0 / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2838, allocations: 420.7 kB / 491.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.2839, allocations: 96.98 kB / 491.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2839, allocations: 0 / 491.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2841, allocations: 27.97 kB / 491.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2842, allocations: 19.92 kB / 491.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2842, allocations: 11.98 kB / 491.9 MB, free: 8.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.2843, allocations: 83.22 kB / 492 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2843, allocations: 0 / 492 MB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001814/0.2861, allocations: 0.6367 MB / 492.7 MB, free: 8.23 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.00353/0.2896, allocations: 287 kB / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008978/0.2905, allocations: 264.9 kB / 493.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2906, allocations: 0 / 493.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.2909, allocations: 131.8 kB / 493.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2912, allocations: 8 kB / 493.3 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.2922, allocations: 343.2 kB / 493.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2925, allocations: 0.697 MB / 494.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.2928, allocations: 77.08 kB / 494.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2929, allocations: 51.39 kB / 494.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2929, allocations: 0 / 494.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of Templates: time 0.2759/0.5688, allocations: 53.86 MB / 0.5355 GB, free: 21.07 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