Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2425/0.2425, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001546/0.3384, allocations: 0.5482 MB / 0.5194 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.3391, allocations: 408.2 kB / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.3392, allocations: 1.406 kB / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.3392, allocations: 0 / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.3392, allocations: 3.938 kB / 0.5198 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.3397, allocations: 149.2 kB / 0.52 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.3398, allocations: 22.92 kB / 0.52 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.3399, allocations: 8.328 kB / 0.52 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.3399, allocations: 11.39 kB / 0.52 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.34, allocations: 27.62 kB / 0.52 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.34, allocations: 2.25 kB / 0.52 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.3403, allocations: 160.6 kB / 0.5202 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3403, allocations: 7.688 kB / 0.5202 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.3403, allocations: 22.89 kB / 0.5202 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3406, allocations: 127.1 kB / 0.5203 GB, free: 2.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3406, allocations: 4 kB / 0.5203 GB, free: 2.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3406, allocations: 2.094 kB / 0.5203 GB, free: 2.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3406, allocations: 0 / 0.5203 GB, free: 2.781 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003996/0.341, allocations: 353.5 kB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3411, allocations: 9.219 kB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3411, allocations: 8.938 kB / 0.5207 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.3412, allocations: 169 kB / 0.5208 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3412, allocations: 10.72 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3413, allocations: 8.062 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3414, allocations: 62.39 kB / 0.5209 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3414, allocations: 8.875 kB / 0.5209 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3415, allocations: 0.7031 kB / 0.5209 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3415, allocations: 2.375 kB / 0.5209 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3416, allocations: 44.95 kB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.3418, allocations: 179.7 kB / 0.5212 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3419, allocations: 94.69 kB / 0.5212 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.342, allocations: 26.72 kB / 0.5213 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.3422, allocations: 105.4 kB / 0.5214 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3423, allocations: 32.2 kB / 0.5214 GB, free: 1.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.3423, allocations: 0 / 0.5214 GB, free: 1.738 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1373/0.4795, allocations: 5.609 MB / 0.5269 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4796, allocations: 58.81 kB / 0.5269 GB, free: 15.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.4797, allocations: 90.98 kB / 0.527 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.4797, allocations: 34.92 kB / 0.5271 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.4798, allocations: 84.45 kB / 0.5271 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.4799, allocations: 79.97 kB / 0.5272 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.48, allocations: 59.14 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4801, allocations: 320.8 kB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.4805, allocations: 118.6 kB / 0.5277 GB, free: 14.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.4809, allocations: 116.7 kB / 0.5278 GB, free: 14.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4823, allocations: 325 kB / 0.5281 GB, free: 14.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4823, allocations: 0 / 0.5281 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001219/0.4835, allocations: 357.9 kB / 0.5284 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4835, allocations: 4.906 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4836, allocations: 1.25 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4836, allocations: 1.25 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.484, allocations: 82.25 kB / 0.5285 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.484, allocations: 5.094 kB / 0.5285 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4842, allocations: 24.5 kB / 0.5286 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4842, allocations: 19.36 kB / 0.5286 GB, free: 14.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001129/0.4844, allocations: 120.8 kB / 0.5287 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.4844, allocations: 4.562 kB / 0.5287 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.4858, allocations: 437.8 kB / 0.5291 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4858, allocations: 2.688 kB / 0.5291 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4858, allocations: 4 kB / 0.5291 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4859, allocations: 7.922 kB / 0.5291 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.488, allocations: 0.7742 MB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4881, allocations: 5 kB / 0.5299 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.4883, allocations: 75.83 kB / 0.53 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4884, allocations: 2.719 kB / 0.53 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.4884, allocations: 15.27 kB / 0.53 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4884, allocations: 1.375 kB / 0.53 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4884, allocations: 1.25 kB / 0.53 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.4896, allocations: 428 kB / 0.5304 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.4897, allocations: 84.39 kB / 0.5305 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4897, allocations: 10.14 kB / 0.5305 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4899, allocations: 21.72 kB / 0.5305 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.4899, allocations: 15.95 kB / 0.5305 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.49, allocations: 14.7 kB / 0.5305 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.483e-05/0.49, allocations: 79.28 kB / 0.5306 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.49, allocations: 1.094 kB / 0.5306 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00194/0.492, allocations: 0.6302 MB / 0.5312 GB, free: 12.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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 0.003187/0.4952, allocations: 293.2 kB / 0.5315 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008315/0.496, allocations: 270.5 kB / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.496, allocations: 0 / 0.5318 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.4964, allocations: 123.6 kB / 0.5319 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.4967, allocations: 15.25 kB / 0.5319 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.4976, allocations: 339.1 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.498, allocations: 0.6988 MB / 0.5329 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.4982, allocations: 81.36 kB / 0.533 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4984, allocations: 44.53 kB / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4984, allocations: 0 / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Templates: time 0.06954/0.5679, allocations: 53.9 MB / 0.5857 GB, free: 7.227 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches