Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002137/0.002136, allocations: 177.8 kB / 8.36 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 1.97/1.97, 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.001076/0.001076, allocations: 82.98 kB / 262.1 MB, free: 13.88 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.3325/0.3325, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.81e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4073, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5627, allocations: 83.82 MB / 0.5477 GB, free: 15.49 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.563, allocations: 63.47 kB / 0.5478 GB, free: 15.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5782, allocations: 3.012 MB / 0.5508 GB, free: 12.42 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5783, allocations: 0 / 0.5508 GB, free: 12.42 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.5783, allocations: 0 / 0.5508 GB, free: 12.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004862/0.5788, allocations: 354.4 kB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5789, allocations: 12.03 kB / 0.5511 GB, free: 12.02 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.5789, allocations: 3.906 kB / 0.5511 GB, free: 12.01 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.5791, allocations: 171 kB / 0.5513 GB, free: 11.8 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5791, allocations: 0 / 0.5513 GB, free: 11.8 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.5791, allocations: 4 kB / 0.5513 GB, free: 11.8 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.5793, allocations: 31.92 kB / 0.5513 GB, free: 11.77 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5794, allocations: 49.62 kB / 0.5513 GB, free: 11.71 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5794, allocations: 0 / 0.5513 GB, free: 11.71 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5795, allocations: 0 / 0.5513 GB, free: 11.71 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5795, allocations: 0 / 0.5513 GB, free: 11.71 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.5797, allocations: 158.1 kB / 0.5515 GB, free: 11.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.58, allocations: 54.55 kB / 0.5516 GB, free: 11.46 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.5801, allocations: 28.84 kB / 0.5516 GB, free: 11.43 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.5805, allocations: 105.1 kB / 0.5517 GB, free: 11.31 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.5805, allocations: 30.56 kB / 0.5517 GB, free: 11.27 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.5805, allocations: 0 / 0.5517 GB, free: 11.27 MB / 395.1 MB Notification: Performance of matching and sorting (n=19): time 0.2449/0.8255, allocations: 5.46 MB / 0.557 GB, free: 5.773 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.8256, allocations: 55.41 kB / 0.5571 GB, free: 5.707 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.8257, allocations: 92.98 kB / 0.5572 GB, free: 5.609 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.8257, allocations: 25.7 kB / 0.5572 GB, free: 5.578 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.8258, allocations: 154.6 kB / 0.5574 GB, free: 5.426 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.826, allocations: 59.11 kB / 0.5574 GB, free: 5.367 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.826, allocations: 0 / 0.5574 GB, free: 5.367 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8262, allocations: 322.8 kB / 0.5577 GB, free: 5.043 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.8267, allocations: 183.9 kB / 0.5579 GB, free: 4.863 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.8272, allocations: 191.1 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.8291, allocations: 283.8 kB / 0.5583 GB, free: 4.402 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8292, allocations: 0 / 0.5583 GB, free: 4.402 MB / 395.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002778/0.832, allocations: 0.5714 MB / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.832, allocations: 4 kB / 0.5589 GB, free: 3.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.832, allocations: 0 / 0.5589 GB, free: 3.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.832, allocations: 4 kB / 0.5589 GB, free: 3.816 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.8333, allocations: 119.8 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8334, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.8343, allocations: 31.97 kB / 0.5591 GB, free: 3.668 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.8344, allocations: 31.94 kB / 0.5591 GB, free: 3.637 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 (19): * Single equations (assignments): 19 * 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.0001893/0.8346, allocations: 108.9 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.8347, allocations: 11.84 kB / 0.5592 GB, free: 3.512 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.838, allocations: 0.6847 MB / 0.5599 GB, free: 2.824 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.838, allocations: 4 kB / 0.5599 GB, free: 2.82 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8381, allocations: 0 / 0.5599 GB, free: 2.82 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8381, allocations: 0 / 0.5599 GB, free: 2.82 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/0.845, allocations: 1.122 MB / 0.561 GB, free: 1.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.8451, allocations: 0 / 0.561 GB, free: 1.633 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.8462, allocations: 115.9 kB / 0.5611 GB, free: 1.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.8462, allocations: 4 kB / 0.5611 GB, free: 1.516 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/0.8463, allocations: 27.95 kB / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.8463, allocations: 3.953 kB / 0.5611 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8463, allocations: 4.25 kB / 0.5611 GB, free: 1.48 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.8489, allocations: 0.6103 MB / 0.5617 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.849, allocations: 85.11 kB / 0.5618 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.849, allocations: 8 kB / 0.5618 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.8499, allocations: 31.95 kB / 0.5618 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.8499, allocations: 23.88 kB / 0.5619 GB, free: 0.6367 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.85, allocations: 27.95 kB / 0.5619 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.8501, allocations: 87.28 kB / 0.562 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8501, allocations: 0 / 0.562 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002388/0.8525, allocations: 0.6208 MB / 0.5626 GB, free: 15.9 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.004253/0.8568, allocations: 326.6 kB / 0.5629 GB, free: 15.57 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.8579, allocations: 363.8 kB / 0.5632 GB, free: 15.22 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8579, allocations: 0 / 0.5632 GB, free: 15.22 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.8584, allocations: 167.9 kB / 0.5634 GB, free: 15.05 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.8586, allocations: 12.33 kB / 0.5634 GB, free: 15.04 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.8626, allocations: 494.9 kB / 0.5639 GB, free: 14.51 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.8631, allocations: 0.6965 MB / 0.5646 GB, free: 13.79 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.8636, allocations: 87.28 kB / 0.5646 GB, free: 13.7 MB / 411.1 MB Notification: Performance of SimCode: time 1.223e-06/0.8636, allocations: 0 / 0.5646 GB, free: 13.7 MB / 411.1 MB Notification: Performance of Templates: time 0.04427/0.9079, allocations: 17.94 MB / 0.5822 GB, free: 11.73 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches