Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 191.9 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007592/0.0007592, allocations: 99.39 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002546, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2806, allocations: 62.96 MB / 0.5159 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005382/0.2812, allocations: 232.3 kB / 0.5161 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.2815, allocations: 92.14 kB / 0.5162 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.2815, allocations: 0 / 0.5162 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.2815, allocations: 0 / 0.5162 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.2815, allocations: 3.938 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.2817, allocations: 10.28 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.882e-05/0.2817, allocations: 5.812 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.2818, allocations: 6.266 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.2818, allocations: 6.75 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.2819, allocations: 7.266 kB / 0.5162 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2819, allocations: 3.188 kB / 0.5162 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.282, allocations: 31.75 kB / 0.5163 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.282, allocations: 7.234 kB / 0.5163 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.282, allocations: 32.8 kB / 0.5163 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.796e-05/0.2821, allocations: 17.12 kB / 0.5163 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2821, allocations: 0 / 0.5163 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2821, allocations: 0 / 0.5163 GB, free: 36.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2821, allocations: 0 / 0.5163 GB, free: 36.79 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.0002677/0.2824, allocations: 327.2 kB / 0.5166 GB, free: 36.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2824, allocations: 9.5 kB / 0.5166 GB, free: 36.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.2824, allocations: 3.781 kB / 0.5166 GB, free: 36.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.2825, allocations: 164.4 kB / 0.5168 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2826, allocations: 384 / 0.5168 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.2826, allocations: 7.188 kB / 0.5168 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2827, allocations: 55.67 kB / 0.5169 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2827, allocations: 192 / 0.5169 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2827, allocations: 3.938 kB / 0.5169 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2827, allocations: 0 / 0.5169 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.137e-05/0.2828, allocations: 13.88 kB / 0.5169 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.283, allocations: 333.6 kB / 0.5172 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/0.2831, allocations: 27.64 kB / 0.5172 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.2831, allocations: 17.27 kB / 0.5172 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.2831, allocations: 0 / 0.5172 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2831, allocations: 37.34 kB / 0.5173 GB, free: 35.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2831, allocations: 0 / 0.5173 GB, free: 35.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001463/0.2833, allocations: 55.34 kB / 0.5173 GB, free: 35.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.2833, allocations: 58.38 kB / 0.5174 GB, free: 35.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.426e-05/0.2834, allocations: 93.36 kB / 0.5175 GB, free: 35.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.2834, allocations: 29.03 kB / 0.5175 GB, free: 35.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.2834, allocations: 84.14 kB / 0.5176 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.2834, allocations: 11.75 kB / 0.5176 GB, free: 35.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.2834, allocations: 3.906 kB / 0.5176 GB, free: 35.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.2835, allocations: 319 kB / 0.5179 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.2835, allocations: 6.438 kB / 0.5179 GB, free: 35.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.2835, allocations: 23.47 kB / 0.5179 GB, free: 35.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.2836, allocations: 29.53 kB / 0.518 GB, free: 35.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2836, allocations: 0 / 0.518 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.655e-05/0.2837, allocations: 62.25 kB / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2837, allocations: 9.594 kB / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2837, allocations: 0 / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2837, allocations: 2.812 kB / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.2838, allocations: 6.812 kB / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2838, allocations: 0 / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.2838, allocations: 0 / 0.518 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.2839, allocations: 2.688 kB / 0.518 GB, free: 34.97 MB / 378.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 4.608e-05/0.2839, allocations: 124.2 kB / 0.5181 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2839, allocations: 3.906 kB / 0.5182 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.284, allocations: 58.86 kB / 0.5182 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.284, allocations: 0 / 0.5182 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.2841, allocations: 2.969 kB / 0.5182 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2841, allocations: 3.328 kB / 0.5182 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.2842, allocations: 162.2 kB / 0.5184 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2842, allocations: 0 / 0.5184 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.522e-05/0.2842, allocations: 9.844 kB / 0.5184 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2842, allocations: 3.938 kB / 0.5184 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.2842, allocations: 0 / 0.5184 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2843, allocations: 6.688 kB / 0.5184 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2843, allocations: 0 / 0.5184 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.2844, allocations: 152.3 kB / 0.5185 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.2844, allocations: 80.44 kB / 0.5186 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.2844, allocations: 256 / 0.5186 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-05/0.2844, allocations: 14.81 kB / 0.5186 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2845, allocations: 0 / 0.5186 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2845, allocations: 2.969 kB / 0.5186 GB, free: 34.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.717e-05/0.2845, allocations: 82.61 kB / 0.5187 GB, free: 34.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2845, allocations: 0 / 0.5187 GB, free: 34.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.2847, allocations: 5.875 kB / 0.5187 GB, free: 34.25 MB / 378.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 9.505e-05/0.2848, allocations: 98.56 kB / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.926e-05/0.2849, allocations: 30.41 kB / 0.5188 GB, free: 34.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2849, allocations: 0 / 0.5188 GB, free: 34.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.285, allocations: 14.22 kB / 0.5188 GB, free: 34.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.2851, allocations: 3.938 kB / 0.5189 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.2854, allocations: 153.6 kB / 0.519 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.2855, allocations: 0.6744 MB / 0.5197 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.2855, allocations: 9.969 kB / 0.5197 GB, free: 33.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2855, allocations: 0 / 0.5197 GB, free: 33.28 MB / 378.7 MB Notification: Performance of Templates: time 0.001527/0.287, allocations: 0.5634 MB / 0.5202 GB, free: 33.26 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches