Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002313, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2897/0.2897, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.66e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5585, allocations: 83.92 MB / 0.5479 GB, free: 15.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5588, allocations: 67.95 kB / 0.5479 GB, free: 15.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.5749, allocations: 3.133 MB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5749, allocations: 0 / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.5749, allocations: 0 / 0.551 GB, free: 12.18 MB / 395.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.0004638/0.5754, allocations: 358.4 kB / 0.5513 GB, free: 11.79 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5755, allocations: 8.031 kB / 0.5513 GB, free: 11.78 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.5755, allocations: 7.906 kB / 0.5513 GB, free: 11.77 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5757, allocations: 175 kB / 0.5515 GB, free: 11.56 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5757, allocations: 4 kB / 0.5515 GB, free: 11.56 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.5758, allocations: 7.984 kB / 0.5515 GB, free: 11.55 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001392/0.5759, allocations: 35.98 kB / 0.5515 GB, free: 11.52 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.576, allocations: 57.67 kB / 0.5516 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5761, allocations: 4 kB / 0.5516 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5761, allocations: 0 / 0.5516 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5761, allocations: 0 / 0.5516 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.5763, allocations: 158 kB / 0.5518 GB, free: 11.26 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.5765, allocations: 80.19 kB / 0.5518 GB, free: 11.17 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.5766, allocations: 28.86 kB / 0.5519 GB, free: 11.14 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/0.577, allocations: 109.1 kB / 0.552 GB, free: 11.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.5771, allocations: 38.56 kB / 0.552 GB, free: 10.97 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.5771, allocations: 0 / 0.552 GB, free: 10.97 MB / 395.1 MB Notification: Performance of matching and sorting (n=23): time 0.2367/0.8138, allocations: 5.121 MB / 0.557 GB, free: 5.809 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.8139, allocations: 59.25 kB / 0.5571 GB, free: 5.738 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.814, allocations: 93 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.814, allocations: 25.83 kB / 0.5572 GB, free: 5.609 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.8141, allocations: 154.9 kB / 0.5573 GB, free: 5.453 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.8142, allocations: 66.92 kB / 0.5574 GB, free: 5.387 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.8142, allocations: 0 / 0.5574 GB, free: 5.387 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8144, allocations: 322.8 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.8146, allocations: 59.98 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.8148, allocations: 63.98 kB / 0.5578 GB, free: 4.941 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.8166, allocations: 199.8 kB / 0.558 GB, free: 4.746 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8166, allocations: 0 / 0.558 GB, free: 4.746 MB / 395.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002166/0.8188, allocations: 345.1 kB / 0.5583 GB, free: 4.402 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.8188, allocations: 8 kB / 0.5583 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8188, allocations: 4 kB / 0.5583 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.8189, allocations: 0 / 0.5583 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.8196, allocations: 87.91 kB / 0.5584 GB, free: 4.305 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.8196, allocations: 4 kB / 0.5584 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.82, allocations: 39.86 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.8201, allocations: 19.98 kB / 0.5585 GB, free: 4.242 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.8202, allocations: 116.8 kB / 0.5586 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.8203, allocations: 7.906 kB / 0.5586 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.8228, allocations: 414.5 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.8228, allocations: 4 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8228, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.8228, allocations: 3.984 kB / 0.559 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.8267, allocations: 0.7807 MB / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.8268, allocations: 0 / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.8273, allocations: 95.92 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.8274, allocations: 0 / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.8274, allocations: 11.98 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.8274, allocations: 8 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8274, allocations: 0 / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.8295, allocations: 444 kB / 0.5603 GB, free: 2.285 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.8296, allocations: 81.02 kB / 0.5604 GB, free: 2.188 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.8296, allocations: 4 kB / 0.5604 GB, free: 2.184 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.83, allocations: 35.95 kB / 0.5604 GB, free: 2.148 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.83, allocations: 15.98 kB / 0.5604 GB, free: 2.133 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.8301, allocations: 15.98 kB / 0.5605 GB, free: 2.117 MB / 395.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.8301, allocations: 75.28 kB / 0.5605 GB, free: 2.043 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8301, allocations: 0 / 0.5605 GB, free: 2.043 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002227/0.8324, allocations: 0.6051 MB / 0.5611 GB, free: 1.438 MB / 395.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004334/0.8367, allocations: 347 kB / 0.5614 GB, free: 1.086 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.8373, allocations: 155.9 kB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8374, allocations: 4 kB / 0.5616 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.8376, allocations: 77.03 kB / 0.5617 GB, free: 0.8555 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.8378, allocations: 4 kB / 0.5617 GB, free: 0.8516 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.839, allocations: 280 kB / 0.5619 GB, free: 0.543 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.8394, allocations: 0.7014 MB / 0.5626 GB, free: 15.81 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.8396, allocations: 47.41 kB / 0.5627 GB, free: 15.77 MB / 411.1 MB Notification: Performance of SimCode: time 8.72e-07/0.8397, allocations: 0 / 0.5627 GB, free: 15.77 MB / 411.1 MB Notification: Performance of Templates: time 0.03884/0.8785, allocations: 15.58 MB / 0.5779 GB, free: 168 kB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches