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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.477/1.477, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 95.89 kB / 261.7 MB, free: 1.613 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.1897/0.1897, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.415e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.5038, allocations: 83.25 MB / 0.5472 GB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5041, allocations: 62 kB / 0.5473 GB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001329/0.5055, allocations: 0.5678 MB / 0.5478 GB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5055, allocations: 0 / 0.5478 GB, free: 8.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.5055, allocations: 0 / 0.5478 GB, free: 8.66 MB / 362.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.0002331/0.5058, allocations: 316.9 kB / 0.5481 GB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5058, allocations: 7.562 kB / 0.5481 GB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.5058, allocations: 7.531 kB / 0.5482 GB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.5059, allocations: 167.7 kB / 0.5483 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.506, allocations: 0.5 kB / 0.5483 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.506, allocations: 6.5 kB / 0.5483 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.179e-05/0.506, allocations: 11.25 kB / 0.5483 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/0.5061, allocations: 49.64 kB / 0.5484 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.5061, allocations: 0 / 0.5484 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.5062, allocations: 0 / 0.5484 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5062, allocations: 3.781 kB / 0.5484 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.5064, allocations: 301.8 kB / 0.5487 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.5064, allocations: 22.33 kB / 0.5487 GB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.5065, allocations: 16.39 kB / 0.5487 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.5065, allocations: 0 / 0.5487 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.5065, allocations: 30.56 kB / 0.5487 GB, free: 7.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.5065, allocations: 0 / 0.5487 GB, free: 7.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001683/0.5067, allocations: 53.27 kB / 0.5488 GB, free: 7.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.5067, allocations: 63.28 kB / 0.5488 GB, free: 7.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.272e-05/0.5068, allocations: 85 kB / 0.5489 GB, free: 7.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.5068, allocations: 25.7 kB / 0.549 GB, free: 7.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.5068, allocations: 86.23 kB / 0.549 GB, free: 7.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.5069, allocations: 11 kB / 0.549 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5069, allocations: 0 / 0.549 GB, free: 7.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.5069, allocations: 324.8 kB / 0.5494 GB, free: 7.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.5069, allocations: 0 / 0.5494 GB, free: 7.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.507, allocations: 25.16 kB / 0.5494 GB, free: 7.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.507, allocations: 10.52 kB / 0.5494 GB, free: 7.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.507, allocations: 0 / 0.5494 GB, free: 7.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.538e-05/0.5071, allocations: 54.61 kB / 0.5494 GB, free: 6.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5071, allocations: 3.812 kB / 0.5494 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5071, allocations: 0 / 0.5494 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5072, allocations: 7.266 kB / 0.5495 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.5072, allocations: 3.844 kB / 0.5495 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5072, allocations: 3.844 kB / 0.5495 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.5073, allocations: 7.969 kB / 0.5495 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.5073, allocations: 0 / 0.5495 GB, free: 6.973 MB / 362.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 () * 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 4.342e-05/0.5073, allocations: 108.8 kB / 0.5496 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.5073, allocations: 10.66 kB / 0.5496 GB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.5075, allocations: 60.86 kB / 0.5496 GB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5075, allocations: 3.938 kB / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5075, allocations: 0 / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5075, allocations: 0 / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.5076, allocations: 139.6 kB / 0.5498 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5076, allocations: 3.953 kB / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.5077, allocations: 7.406 kB / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.5077, allocations: 2.859 kB / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5077, allocations: 3.75 kB / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5077, allocations: 0 / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5077, allocations: 0 / 0.5498 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.732e-05/0.5078, allocations: 140.4 kB / 0.5499 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.5078, allocations: 87.7 kB / 0.55 GB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.5078, allocations: 4 kB / 0.55 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.5079, allocations: 0 / 0.55 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.5079, allocations: 7.875 kB / 0.55 GB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.5079, allocations: 7.781 kB / 0.55 GB, free: 6.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.607e-05/0.508, allocations: 78.14 kB / 0.5501 GB, free: 6.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.508, allocations: 0 / 0.5501 GB, free: 6.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.5082, allocations: 7.875 kB / 0.5501 GB, free: 6.328 MB / 362.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 () * 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.0001024/0.5083, allocations: 98.31 kB / 0.5502 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.5084, allocations: 19.22 kB / 0.5502 GB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5084, allocations: 0 / 0.5502 GB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.5084, allocations: 18.69 kB / 0.5502 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.5085, allocations: 0 / 0.5502 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.5088, allocations: 68.09 kB / 0.5503 GB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.5089, allocations: 0.6856 MB / 0.551 GB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.5089, allocations: 7.969 kB / 0.551 GB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.5089, allocations: 11.38 kB / 0.551 GB, free: 5.449 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5089, allocations: 0 / 0.551 GB, free: 5.449 MB / 362.7 MB Notification: Performance of Templates: time 0.002032/0.511, allocations: 405.6 kB / 0.5514 GB, free: 5.402 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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) 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