Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241.6 MB, free: 10.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 107.5 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3131/0.3131, allocations: 44.14 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009853/0.0009853, allocations: 51.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2839, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001566/0.2855, allocations: 0.5695 MB / 0.5069 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.2858, allocations: 95.08 kB / 0.507 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.2858, allocations: 0 / 0.507 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2858, allocations: 0 / 0.507 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.2859, allocations: 1.188 kB / 0.507 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.286, allocations: 19.47 kB / 0.5071 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.238e-05/0.2861, allocations: 9.438 kB / 0.5071 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.2861, allocations: 2.375 kB / 0.5071 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.2861, allocations: 6.219 kB / 0.5071 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.2862, allocations: 13.45 kB / 0.5071 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2862, allocations: 5.094 kB / 0.5071 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.2863, allocations: 32.69 kB / 0.5071 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2863, allocations: 1.188 kB / 0.5071 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.2863, allocations: 5.031 kB / 0.5071 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.2864, allocations: 25.83 kB / 0.5072 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2864, allocations: 1.156 kB / 0.5072 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2864, allocations: 0 / 0.5072 GB, free: 37.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.2864, allocations: 0 / 0.5072 GB, free: 37.83 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.0003144/0.2868, allocations: 340.8 kB / 0.5075 GB, free: 37.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2868, allocations: 9.156 kB / 0.5075 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.2869, allocations: 2.812 kB / 0.5075 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.2869, allocations: 165.5 kB / 0.5076 GB, free: 37.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2869, allocations: 4.375 kB / 0.5077 GB, free: 37.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.287, allocations: 2.219 kB / 0.5077 GB, free: 37.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2871, allocations: 54.38 kB / 0.5077 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2871, allocations: 4.125 kB / 0.5077 GB, free: 37.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2871, allocations: 4.906 kB / 0.5077 GB, free: 37.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2871, allocations: 5.094 kB / 0.5077 GB, free: 37.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.2872, allocations: 11.41 kB / 0.5077 GB, free: 37.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.2874, allocations: 324.6 kB / 0.508 GB, free: 36.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.2874, allocations: 27.17 kB / 0.5081 GB, free: 36.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.2875, allocations: 18.73 kB / 0.5081 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2875, allocations: 5.344 kB / 0.5081 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.2875, allocations: 32 kB / 0.5081 GB, free: 36.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2875, allocations: 0 / 0.5081 GB, free: 36.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001504/0.2877, allocations: 57.36 kB / 0.5082 GB, free: 36.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.2877, allocations: 52.75 kB / 0.5082 GB, free: 36.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/0.2878, allocations: 96.02 kB / 0.5083 GB, free: 36.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2878, allocations: 29.7 kB / 0.5083 GB, free: 36.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.2878, allocations: 89.39 kB / 0.5084 GB, free: 36.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.2878, allocations: 14.28 kB / 0.5084 GB, free: 36.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.2879, allocations: 17.5 kB / 0.5085 GB, free: 36.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.2879, allocations: 314.3 kB / 0.5088 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.2879, allocations: 9.188 kB / 0.5088 GB, free: 36.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.288, allocations: 14.31 kB / 0.5088 GB, free: 36.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.288, allocations: 32.14 kB / 0.5088 GB, free: 36.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.288, allocations: 4 kB / 0.5088 GB, free: 36.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.742e-05/0.2881, allocations: 57.98 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2881, allocations: 4.625 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2881, allocations: 1.219 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2882, allocations: 0 / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.2882, allocations: 10.39 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2882, allocations: 1.344 kB / 0.5089 GB, free: 35.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.2883, allocations: 4.969 kB / 0.5089 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2883, allocations: 1.125 kB / 0.5089 GB, free: 35.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2883, allocations: 120 kB / 0.509 GB, free: 35.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.2883, allocations: 9.094 kB / 0.509 GB, free: 35.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2885, allocations: 62.62 kB / 0.5091 GB, free: 35.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2885, allocations: 5.203 kB / 0.5091 GB, free: 35.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2885, allocations: 0 / 0.5091 GB, free: 35.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2885, allocations: 5.094 kB / 0.5091 GB, free: 35.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2886, allocations: 158.5 kB / 0.5092 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2886, allocations: 0 / 0.5092 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.2886, allocations: 6.875 kB / 0.5092 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2887, allocations: 4 kB / 0.5092 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2887, allocations: 1.125 kB / 0.5092 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2887, allocations: 3.516 kB / 0.5093 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2887, allocations: 5.125 kB / 0.5093 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2889, allocations: 0.7018 MB / 0.5099 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.2889, allocations: 82.14 kB / 0.51 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2889, allocations: 9.188 kB / 0.51 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.289, allocations: 0 / 0.51 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.289, allocations: 5.609 kB / 0.51 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.289, allocations: 5.031 kB / 0.51 GB, free: 34.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.2891, allocations: 76.47 kB / 0.5101 GB, free: 34.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2891, allocations: 1.125 kB / 0.5101 GB, free: 34.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.2894, allocations: 8.562 kB / 0.5101 GB, free: 34.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.329e-05/0.2895, allocations: 101.2 kB / 0.5102 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.2896, allocations: 27.42 kB / 0.5102 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2896, allocations: 0 / 0.5102 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.2896, allocations: 16.47 kB / 0.5103 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.2898, allocations: 8.016 kB / 0.5103 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.29, allocations: 229.6 kB / 0.5105 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.2901, allocations: 0.6782 MB / 0.5111 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.2901, allocations: 4.062 kB / 0.5112 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.2902, allocations: 10.91 kB / 0.5112 GB, free: 33.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2902, allocations: 0 / 0.5112 GB, free: 33.63 MB / 378.7 MB Notification: Performance of Templates: time 0.001964/0.2921, allocations: 440 kB / 0.5116 GB, free: 33.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches