Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009082/0.0009082, allocations: 84.94 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.542e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4704, allocations: 85.42 MB / 0.5878 GB, free: 1.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.4706, allocations: 59.53 kB / 0.5878 GB, free: 1.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001233/0.4718, allocations: 0.5579 MB / 0.5884 GB, free: 0.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4718, allocations: 0 / 0.5884 GB, free: 0.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4719, allocations: 4 kB / 0.5884 GB, free: 0.6211 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.0001998/0.4721, allocations: 318.4 kB / 0.5887 GB, free: 276 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4721, allocations: 15.95 kB / 0.5887 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.4721, allocations: 3.984 kB / 0.5887 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.4722, allocations: 167 kB / 0.5889 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4723, allocations: 0 / 0.5889 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.4723, allocations: 3.984 kB / 0.5889 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.728e-05/0.4723, allocations: 11.38 kB / 0.5889 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.4724, allocations: 54.78 kB / 0.5889 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4725, allocations: 0 / 0.5889 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4725, allocations: 0 / 0.5889 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4725, allocations: 0 / 0.5889 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.4728, allocations: 297 kB / 0.5892 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.4728, allocations: 29.7 kB / 0.5892 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.4729, allocations: 12.17 kB / 0.5893 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4729, allocations: 2.516 kB / 0.5893 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4729, allocations: 37.92 kB / 0.5893 GB, free: 15.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.473, allocations: 0 / 0.5893 GB, free: 15.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.4731, allocations: 52.84 kB / 0.5893 GB, free: 15.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4732, allocations: 51.41 kB / 0.5894 GB, free: 15.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.4732, allocations: 96.42 kB / 0.5895 GB, free: 15.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4733, allocations: 29.7 kB / 0.5895 GB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.4733, allocations: 80.89 kB / 0.5896 GB, free: 15.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.4733, allocations: 11.62 kB / 0.5896 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.4733, allocations: 0 / 0.5896 GB, free: 15.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4734, allocations: 314.8 kB / 0.5899 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.4735, allocations: 4 kB / 0.5899 GB, free: 14.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.4735, allocations: 25.14 kB / 0.5899 GB, free: 14.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.4735, allocations: 11.25 kB / 0.5899 GB, free: 14.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4735, allocations: 0 / 0.5899 GB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.077e-05/0.4736, allocations: 56.69 kB / 0.59 GB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4737, allocations: 4 kB / 0.59 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4737, allocations: 4 kB / 0.59 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4737, allocations: 3.984 kB / 0.59 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.4738, allocations: 8 kB / 0.59 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4738, allocations: 0 / 0.59 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.4738, allocations: 3.938 kB / 0.59 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4738, allocations: 4.031 kB / 0.59 GB, free: 14.77 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 () * 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.717e-05/0.4739, allocations: 112.9 kB / 0.5901 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.4739, allocations: 3.906 kB / 0.5901 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.4741, allocations: 70.61 kB / 0.5902 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4741, allocations: 0 / 0.5902 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4741, allocations: 0 / 0.5902 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4741, allocations: 0 / 0.5902 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.4742, allocations: 134.2 kB / 0.5903 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4742, allocations: 3.953 kB / 0.5903 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.4743, allocations: 12 kB / 0.5903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4743, allocations: 0 / 0.5903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4743, allocations: 0 / 0.5903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4743, allocations: 0 / 0.5903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4743, allocations: 4 kB / 0.5903 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.4744, allocations: 145.8 kB / 0.5905 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.4745, allocations: 81.06 kB / 0.5906 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4745, allocations: 4.812 kB / 0.5906 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.4746, allocations: 4 kB / 0.5906 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.4746, allocations: 8.078 kB / 0.5906 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4746, allocations: 0 / 0.5906 GB, free: 14.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.4747, allocations: 79.28 kB / 0.5907 GB, free: 14.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4747, allocations: 0 / 0.5907 GB, free: 14.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000221/0.4749, allocations: 4 kB / 0.5907 GB, free: 14.06 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 () * 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.0001422/0.475, allocations: 99.23 kB / 0.5908 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.4751, allocations: 19.03 kB / 0.5908 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4751, allocations: 4 kB / 0.5908 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.4752, allocations: 23.36 kB / 0.5908 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.4753, allocations: 0 / 0.5908 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.4755, allocations: 71.59 kB / 0.5909 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4757, allocations: 0.6807 MB / 0.5915 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.4758, allocations: 8 kB / 0.5915 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.4758, allocations: 11.44 kB / 0.5915 GB, free: 13.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4758, allocations: 0 / 0.5915 GB, free: 13.1 MB / 394.7 MB Notification: Performance of Templates: time 0.002065/0.4779, allocations: 406.4 kB / 0.5919 GB, free: 12.71 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches