Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007862, allocations: 91.34 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3493/0.3493, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 4 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 63.1 MB / 0.5214 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.000568/0.277, allocations: 272.1 kB / 0.5216 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.2777, allocations: 0.6249 MB / 0.5222 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.2777, allocations: 2.875 kB / 0.5222 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2778, allocations: 0 / 0.5222 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.2778, allocations: 3.938 kB / 0.5222 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2781, allocations: 96.78 kB / 0.5223 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.2782, allocations: 30.81 kB / 0.5224 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.2783, allocations: 2.094 kB / 0.5224 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.2783, allocations: 11.53 kB / 0.5224 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.2784, allocations: 17.77 kB / 0.5224 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2784, allocations: 2.844 kB / 0.5224 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.2786, allocations: 155.8 kB / 0.5225 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2786, allocations: 14.22 kB / 0.5226 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2786, allocations: 36.69 kB / 0.5226 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2788, allocations: 122.8 kB / 0.5227 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2788, allocations: 0 / 0.5227 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2788, allocations: 4 kB / 0.5227 GB, free: 37.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.2788, allocations: 0 / 0.5227 GB, free: 37.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003033/0.2792, allocations: 360.5 kB / 0.5231 GB, free: 37.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2792, allocations: 11.81 kB / 0.5231 GB, free: 37.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2792, allocations: 4.844 kB / 0.5231 GB, free: 37.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.2793, allocations: 171.4 kB / 0.5232 GB, free: 37.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2793, allocations: 7.469 kB / 0.5232 GB, free: 37.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2794, allocations: 7.312 kB / 0.5232 GB, free: 37.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2795, allocations: 52.5 kB / 0.5233 GB, free: 36.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2795, allocations: 7.938 kB / 0.5233 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.2795, allocations: 0 / 0.5233 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2795, allocations: 2.719 kB / 0.5233 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.601e-05/0.2796, allocations: 29.92 kB / 0.5233 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2797, allocations: 179.3 kB / 0.5235 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2799, allocations: 51.06 kB / 0.5236 GB, free: 36.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.2799, allocations: 23.72 kB / 0.5236 GB, free: 36.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.2802, allocations: 118.8 kB / 0.5237 GB, free: 36.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.2802, allocations: 41.66 kB / 0.5237 GB, free: 36.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2802, allocations: 0 / 0.5237 GB, free: 36.58 MB / 378.7 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1202/0.4004, allocations: 6.613 MB / 0.5302 GB, free: 35.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4005, allocations: 54 kB / 0.5302 GB, free: 35.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.4005, allocations: 105.9 kB / 0.5303 GB, free: 35.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.4006, allocations: 32.23 kB / 0.5304 GB, free: 35.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.4006, allocations: 84.69 kB / 0.5305 GB, free: 35.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.4007, allocations: 63.98 kB / 0.5305 GB, free: 35.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4007, allocations: 6.125 kB / 0.5305 GB, free: 35.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.4008, allocations: 323.9 kB / 0.5308 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.4013, allocations: 241.4 kB / 0.5311 GB, free: 34.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.4018, allocations: 245 kB / 0.5313 GB, free: 34.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.4037, allocations: 0.5884 MB / 0.5319 GB, free: 34.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4037, allocations: 0 / 0.5319 GB, free: 34.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0016/0.4053, allocations: 0.6498 MB / 0.5325 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4053, allocations: 6.094 kB / 0.5325 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4054, allocations: 0 / 0.5325 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4054, allocations: 2.625 kB / 0.5325 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.406, allocations: 115.5 kB / 0.5326 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.406, allocations: 0.5156 kB / 0.5326 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.4064, allocations: 33.98 kB / 0.5327 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.4065, allocations: 31.27 kB / 0.5327 GB, free: 34.46 MB / 378.7 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 (19): * Single equations (assignments): 19 * 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.0001086/0.4066, allocations: 125.5 kB / 0.5328 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.4067, allocations: 6.531 kB / 0.5328 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.4087, allocations: 0.7616 MB / 0.5336 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4087, allocations: 0.6094 kB / 0.5336 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4087, allocations: 0 / 0.5336 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4087, allocations: 3.844 kB / 0.5336 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.4124, allocations: 1.22 MB / 0.5347 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4124, allocations: 6.781 kB / 0.5348 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.4129, allocations: 103.9 kB / 0.5349 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4129, allocations: 2.844 kB / 0.5349 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.413, allocations: 30.61 kB / 0.5349 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.413, allocations: 6.984 kB / 0.5349 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.413, allocations: 7.281 kB / 0.5349 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4144, allocations: 0.6047 MB / 0.5355 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.4145, allocations: 86.77 kB / 0.5356 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.4145, allocations: 10.98 kB / 0.5356 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.4149, allocations: 28.41 kB / 0.5356 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.4149, allocations: 25.61 kB / 0.5356 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.415, allocations: 33.64 kB / 0.5357 GB, free: 32.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.415, allocations: 86.36 kB / 0.5358 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.415, allocations: 0 / 0.5358 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002014/0.417, allocations: 0.6421 MB / 0.5364 GB, free: 32.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.00281/0.4199, allocations: 312.6 kB / 0.5367 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4211, allocations: 480.3 kB / 0.5371 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4211, allocations: 0 / 0.5371 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000489/0.4216, allocations: 223.2 kB / 0.5373 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4219, allocations: 12.2 kB / 0.5374 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4241, allocations: 0.5904 MB / 0.5379 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4243, allocations: 0.7016 MB / 0.5386 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.4248, allocations: 124.7 kB / 0.5387 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.4251, allocations: 91.53 kB / 0.5388 GB, free: 30.92 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4252, allocations: 0 / 0.5388 GB, free: 30.92 MB / 378.7 MB Notification: Performance of Templates: time 0.06694/0.4921, allocations: 57.04 MB / 0.5945 GB, free: 11.57 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches