Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 223.6 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 87.34 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2998/0.2998, allocations: 43.56 MB / 363.8 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003703, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.377, allocations: 84.02 MB / 0.562 GB, free: 2.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3772, allocations: 71.95 kB / 0.562 GB, free: 2.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00119/0.3784, allocations: 0.5545 MB / 0.5626 GB, free: 1.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3784, allocations: 3.25 kB / 0.5626 GB, free: 1.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3785, allocations: 0 / 0.5626 GB, free: 1.789 MB / 378.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.0002121/0.3787, allocations: 328.4 kB / 0.5629 GB, free: 1.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3787, allocations: 8.031 kB / 0.5629 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.3787, allocations: 6.969 kB / 0.5629 GB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.3788, allocations: 164.4 kB / 0.5631 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3788, allocations: 384 / 0.5631 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.3789, allocations: 8.375 kB / 0.5631 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/0.379, allocations: 55.91 kB / 0.5631 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.379, allocations: 4.188 kB / 0.5631 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.379, allocations: 3.938 kB / 0.5631 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.379, allocations: 0 / 0.5631 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.379, allocations: 12 kB / 0.5631 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.3793, allocations: 318 kB / 0.5635 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.3793, allocations: 34.45 kB / 0.5635 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.3794, allocations: 16.84 kB / 0.5635 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3794, allocations: 1.422 kB / 0.5635 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.3794, allocations: 38.64 kB / 0.5635 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3794, allocations: 0 / 0.5635 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001589/0.3796, allocations: 57.59 kB / 0.5636 GB, free: 0.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3796, allocations: 59.34 kB / 0.5637 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.3796, allocations: 93.86 kB / 0.5637 GB, free: 420 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.3797, allocations: 25.7 kB / 0.5638 GB, free: 388 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.3797, allocations: 86.38 kB / 0.5638 GB, free: 304 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.3797, allocations: 15.75 kB / 0.5639 GB, free: 288 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.3797, allocations: 0 / 0.5639 GB, free: 288 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.3798, allocations: 318.8 kB / 0.5642 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.3798, allocations: 12.12 kB / 0.5642 GB, free: 15.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.3799, allocations: 17.72 kB / 0.5642 GB, free: 15.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.3799, allocations: 29.7 kB / 0.5642 GB, free: 15.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3799, allocations: 0 / 0.5642 GB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.38, allocations: 61.56 kB / 0.5643 GB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3801, allocations: 4 kB / 0.5643 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3801, allocations: 3.125 kB / 0.5643 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3801, allocations: 32 / 0.5643 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.3802, allocations: 12 kB / 0.5643 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3802, allocations: 0 / 0.5643 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.3802, allocations: 7.938 kB / 0.5643 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.3802, allocations: 0 / 0.5643 GB, free: 15.8 MB / 394.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 6.913e-05/0.3803, allocations: 118.3 kB / 0.5644 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3803, allocations: 3.906 kB / 0.5644 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.3805, allocations: 61.19 kB / 0.5645 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3805, allocations: 0 / 0.5645 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3805, allocations: 4 kB / 0.5645 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3805, allocations: 0 / 0.5645 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3806, allocations: 161.6 kB / 0.5646 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3806, allocations: 0 / 0.5646 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3807, allocations: 11.94 kB / 0.5647 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3807, allocations: 0 / 0.5647 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3807, allocations: 7.828 kB / 0.5647 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.3807, allocations: 5.469 kB / 0.5647 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3807, allocations: 4 kB / 0.5647 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3809, allocations: 152.7 kB / 0.5648 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.3809, allocations: 77.11 kB / 0.5649 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.3809, allocations: 0 / 0.5649 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.381, allocations: 4 kB / 0.5649 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.381, allocations: 4 kB / 0.5649 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.381, allocations: 0 / 0.5649 GB, free: 15.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.3811, allocations: 80.03 kB / 0.565 GB, free: 15.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3811, allocations: 0 / 0.565 GB, free: 15.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.3813, allocations: 11.98 kB / 0.565 GB, free: 15.02 MB / 394.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.0001143/0.3814, allocations: 103.3 kB / 0.5651 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.3815, allocations: 26.73 kB / 0.5651 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3816, allocations: 0 / 0.5651 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.3816, allocations: 13.55 kB / 0.5651 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.3818, allocations: 15.88 kB / 0.5651 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.382, allocations: 142.5 kB / 0.5653 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3823, allocations: 0.681 MB / 0.5659 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3823, allocations: 15.44 kB / 0.566 GB, free: 13.96 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3823, allocations: 0 / 0.566 GB, free: 13.96 MB / 394.7 MB Notification: Performance of Templates: time 0.001849/0.3842, allocations: 0.5651 MB / 0.5665 GB, free: 13.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches