Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 95.81 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 176.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 222.7 MB, free: 5.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2968/0.2968, allocations: 43.54 MB / 314.5 MB, free: 8.848 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 12 kB / 383.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09383, allocations: 58.86 MB / 442.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005153/0.09438, allocations: 244.4 kB / 443 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.09462, allocations: 88.11 kB / 443.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.09465, allocations: 4 kB / 443.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.918e-06/0.09466, allocations: 0 / 443.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.09469, allocations: 7.875 kB / 443.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.09483, allocations: 3.984 kB / 443.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.09487, allocations: 8 kB / 443.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.09492, allocations: 3.984 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.09495, allocations: 4 kB / 443.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.095, allocations: 11.94 kB / 443.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.09501, allocations: 4 kB / 443.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.09508, allocations: 27.95 kB / 443.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.09511, allocations: 7.984 kB / 443.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.09513, allocations: 25.7 kB / 443.2 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.696e-05/0.0952, allocations: 19.98 kB / 443.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.0952, allocations: 0 / 443.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09521, allocations: 0 / 443.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.09522, allocations: 0 / 443.2 MB, free: 12.9 MB / 382.1 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.0002984/0.09552, allocations: 323.3 kB / 443.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.09556, allocations: 12.03 kB / 443.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.09559, allocations: 0 / 443.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.09571, allocations: 167.2 kB / 443.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.09572, allocations: 11.94 kB / 443.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.09574, allocations: 3.984 kB / 443.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.09584, allocations: 55.34 kB / 443.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.09586, allocations: 0 / 443.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.09587, allocations: 0 / 443.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.09589, allocations: 4 kB / 443.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.09593, allocations: 15.94 kB / 443.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.09621, allocations: 325.1 kB / 444.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.09626, allocations: 18.58 kB / 444.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.09628, allocations: 0 / 444.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.09631, allocations: 42.56 kB / 444.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.09631, allocations: 0 / 444.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001565/0.09647, allocations: 53.72 kB / 444.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.09651, allocations: 55.34 kB / 444.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.09658, allocations: 97.81 kB / 444.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.09661, allocations: 29.7 kB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.09665, allocations: 88.03 kB / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.09666, allocations: 7.812 kB / 444.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.09667, allocations: 4 kB / 444.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.09677, allocations: 319 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.09679, allocations: 4 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.09683, allocations: 21.7 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.09686, allocations: 8 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09687, allocations: 0 / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.079e-05/0.09695, allocations: 53.81 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.09697, allocations: 8 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.09698, allocations: 4.203 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.097, allocations: 3.984 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.09706, allocations: 12 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.09707, allocations: 3.984 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.0971, allocations: 11.89 kB / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.09712, allocations: 4 kB / 444.9 MB, free: 10.94 MB / 382.1 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.008e-05/0.09718, allocations: 109.8 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.09721, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.09733, allocations: 65.19 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.09734, allocations: 0 / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.09735, allocations: 0 / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.09736, allocations: 7.938 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.09751, allocations: 165.5 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.09752, allocations: 0 / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.09756, allocations: 11.98 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.09757, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.09758, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09759, allocations: 3.938 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.09759, allocations: 0 / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.09771, allocations: 155.5 kB / 445.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.09775, allocations: 81.11 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.09776, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.09781, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.09784, allocations: 4 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.09785, allocations: 3.984 kB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.09788, allocations: 75.28 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09789, allocations: 4.094 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.0981, allocations: 12 kB / 445.6 MB, free: 10.15 MB / 382.1 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 9.701e-05/0.0982, allocations: 95.25 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.504e-05/0.0983, allocations: 35.98 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.09831, allocations: 0 / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.09834, allocations: 12 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.09847, allocations: 7.891 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.09867, allocations: 114.8 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.09891, allocations: 0.6848 MB / 446.6 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.09895, allocations: 7.922 kB / 446.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.09897, allocations: 11.44 kB / 446.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09898, allocations: 0 / 446.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of Templates: time 0.002118/0.1011, allocations: 407.8 kB / 447 MB, free: 8.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches