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.001175/0.001175, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009398/0.0009398, allocations: 100.5 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3154/0.3154, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2981, allocations: 62.02 MB / 0.5151 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001478/0.2996, allocations: 0.5631 MB / 0.5157 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003159/0.3, allocations: 99.33 kB / 0.5158 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.3, allocations: 0 / 0.5158 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.3, allocations: 0 / 0.5158 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.727e-05/0.3001, allocations: 0 / 0.5158 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3002, allocations: 17.8 kB / 0.5158 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.371e-05/0.3003, allocations: 15.7 kB / 0.5158 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.3003, allocations: 3.984 kB / 0.5158 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.3003, allocations: 10.23 kB / 0.5158 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.3004, allocations: 10.78 kB / 0.5158 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3004, allocations: 0 / 0.5158 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.3005, allocations: 32.41 kB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3005, allocations: 3 kB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.3005, allocations: 3.938 kB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.3006, allocations: 26.95 kB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3006, allocations: 0 / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3006, allocations: 0 / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3006, allocations: 0 / 0.5159 GB, free: 37.29 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.0003066/0.301, allocations: 338.2 kB / 0.5162 GB, free: 36.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.301, allocations: 8.344 kB / 0.5162 GB, free: 36.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.301, allocations: 3.844 kB / 0.5162 GB, free: 36.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.3011, allocations: 160.4 kB / 0.5164 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3011, allocations: 4.375 kB / 0.5164 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3012, allocations: 3.344 kB / 0.5164 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3013, allocations: 62.86 kB / 0.5165 GB, free: 36.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3013, allocations: 4.188 kB / 0.5165 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3013, allocations: 3.938 kB / 0.5165 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3013, allocations: 0 / 0.5165 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.3013, allocations: 12.34 kB / 0.5165 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.3016, allocations: 323.3 kB / 0.5168 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.3016, allocations: 24.23 kB / 0.5168 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.3017, allocations: 22.89 kB / 0.5168 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3017, allocations: 0 / 0.5168 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3017, allocations: 33.44 kB / 0.5169 GB, free: 36.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3017, allocations: 0 / 0.5169 GB, free: 36.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001633/0.3019, allocations: 58.97 kB / 0.5169 GB, free: 36.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.3019, allocations: 54.25 kB / 0.517 GB, free: 36.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.302, allocations: 96.05 kB / 0.5171 GB, free: 36.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.302, allocations: 25.83 kB / 0.5171 GB, free: 35.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.302, allocations: 88.14 kB / 0.5172 GB, free: 35.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.302, allocations: 14.62 kB / 0.5172 GB, free: 35.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3021, allocations: 20.2 kB / 0.5172 GB, free: 35.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.3021, allocations: 313.7 kB / 0.5175 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.3021, allocations: 6.875 kB / 0.5175 GB, free: 35.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.3022, allocations: 17.89 kB / 0.5175 GB, free: 35.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.3022, allocations: 35.16 kB / 0.5176 GB, free: 35.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3022, allocations: 2.188 kB / 0.5176 GB, free: 35.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.121e-05/0.3023, allocations: 56.14 kB / 0.5176 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3023, allocations: 8.75 kB / 0.5176 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3023, allocations: 0 / 0.5176 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3023, allocations: 5.922 kB / 0.5176 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.3024, allocations: 17.25 kB / 0.5177 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3024, allocations: 2.75 kB / 0.5177 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.3024, allocations: 4 kB / 0.5177 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3025, allocations: 6.625 kB / 0.5177 GB, free: 35.43 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.053e-05/0.3025, allocations: 110.7 kB / 0.5178 GB, free: 35.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3025, allocations: 6.625 kB / 0.5178 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.3026, allocations: 61.19 kB / 0.5178 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3026, allocations: 2.688 kB / 0.5178 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3026, allocations: 0 / 0.5178 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3027, allocations: 0 / 0.5178 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.3028, allocations: 158.1 kB / 0.518 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3028, allocations: 0 / 0.518 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3028, allocations: 19.44 kB / 0.518 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3028, allocations: 0 / 0.518 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3028, allocations: 0 / 0.518 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3028, allocations: 0 / 0.518 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3028, allocations: 2.938 kB / 0.518 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3031, allocations: 0.6974 MB / 0.5187 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.3031, allocations: 85 kB / 0.5188 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.3031, allocations: 8 kB / 0.5188 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.3031, allocations: 6.25 kB / 0.5188 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.3032, allocations: 0 / 0.5188 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3032, allocations: 7 kB / 0.5188 GB, free: 34.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.599e-05/0.3032, allocations: 75.28 kB / 0.5189 GB, free: 34.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3032, allocations: 0 / 0.5189 GB, free: 34.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.3035, allocations: 5.75 kB / 0.5189 GB, free: 34.15 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.982e-05/0.3036, allocations: 108 kB / 0.519 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.489e-05/0.3037, allocations: 26.62 kB / 0.519 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3037, allocations: 0 / 0.519 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.3038, allocations: 17.83 kB / 0.519 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.304, allocations: 0 / 0.519 GB, free: 34.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.3042, allocations: 226.8 kB / 0.5192 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3043, allocations: 0.6821 MB / 0.5199 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.3044, allocations: 4.062 kB / 0.5199 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3044, allocations: 10.53 kB / 0.5199 GB, free: 33.1 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3044, allocations: 0 / 0.5199 GB, free: 33.1 MB / 378.7 MB Notification: Performance of Templates: time 0.001982/0.3064, allocations: 454.7 kB / 0.5203 GB, free: 33.02 MB / 378.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@2/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