Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009518/0.0009517, allocations: 95.53 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3944/0.3944, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 11.98 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3331, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4458, allocations: 85.99 MB / 0.6004 GB, free: 3.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4461, allocations: 67.95 kB / 0.6005 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001427/0.4475, allocations: 0.5645 MB / 0.6011 GB, free: 2.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4476, allocations: 0 / 0.6011 GB, free: 2.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4476, allocations: 3.938 kB / 0.6011 GB, free: 2.727 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003123/0.4479, allocations: 335.4 kB / 0.6014 GB, free: 2.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.448, allocations: 12.88 kB / 0.6014 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.448, allocations: 4.938 kB / 0.6014 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4481, allocations: 160.4 kB / 0.6016 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4481, allocations: 4.375 kB / 0.6016 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.4482, allocations: 384 / 0.6016 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4483, allocations: 63.41 kB / 0.6016 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4483, allocations: 192 / 0.6016 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4484, allocations: 3.938 kB / 0.6016 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4484, allocations: 0 / 0.6016 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.4484, allocations: 15.98 kB / 0.6016 GB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4488, allocations: 317.1 kB / 0.6019 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.079e-05/0.4488, allocations: 34.48 kB / 0.602 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.4489, allocations: 16.86 kB / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4489, allocations: 0 / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.4489, allocations: 34.56 kB / 0.602 GB, free: 1.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.449, allocations: 0 / 0.602 GB, free: 1.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000177/0.4491, allocations: 61.67 kB / 0.6021 GB, free: 1.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.4492, allocations: 55.34 kB / 0.6021 GB, free: 1.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.4493, allocations: 97.84 kB / 0.6022 GB, free: 1.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4493, allocations: 25.7 kB / 0.6023 GB, free: 1.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.4493, allocations: 80.14 kB / 0.6023 GB, free: 1.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.4493, allocations: 19.75 kB / 0.6023 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.4494, allocations: 128 / 0.6023 GB, free: 1.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4495, allocations: 314.8 kB / 0.6026 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.4495, allocations: 11.98 kB / 0.6027 GB, free: 0.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.4496, allocations: 17.72 kB / 0.6027 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.4496, allocations: 25.72 kB / 0.6027 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4496, allocations: 0 / 0.6027 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.156e-05/0.4497, allocations: 61.56 kB / 0.6028 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4498, allocations: 8.031 kB / 0.6028 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4498, allocations: 7.984 kB / 0.6028 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4498, allocations: 0 / 0.6028 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.4498, allocations: 4.125 kB / 0.6028 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4499, allocations: 4 kB / 0.6028 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.4499, allocations: 7.938 kB / 0.6028 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4499, allocations: 0 / 0.6028 GB, free: 0.7227 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.077e-05/0.45, allocations: 117.7 kB / 0.6029 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.45, allocations: 0 / 0.6029 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.4502, allocations: 73.08 kB / 0.603 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4502, allocations: 0 / 0.603 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4502, allocations: 3.938 kB / 0.603 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4502, allocations: 0 / 0.603 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.4504, allocations: 165.6 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4504, allocations: 0 / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.4504, allocations: 4 kB / 0.6031 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4504, allocations: 4 kB / 0.6031 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4504, allocations: 0 / 0.6031 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4504, allocations: 3.938 kB / 0.6031 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4504, allocations: 4 kB / 0.6031 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.4506, allocations: 151.5 kB / 0.6033 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.4506, allocations: 81.11 kB / 0.6034 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4506, allocations: 0 / 0.6034 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.4507, allocations: 0 / 0.6034 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.4507, allocations: 3.984 kB / 0.6034 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4507, allocations: 8 kB / 0.6034 GB, free: 12 kB / 410.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.4508, allocations: 79.28 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4508, allocations: 0 / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.451, allocations: 4 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001239/0.4512, allocations: 95.25 kB / 0.6036 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.581e-05/0.4513, allocations: 31.92 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4513, allocations: 0 / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.4513, allocations: 8.125 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4515, allocations: 14.91 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.4518, allocations: 159.1 kB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4521, allocations: 0.6731 MB / 0.6044 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.4521, allocations: 11.44 kB / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4521, allocations: 0 / 0.6044 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Templates: time 0.001794/0.4539, allocations: 0.5703 MB / 0.605 GB, free: 14.31 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches