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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001407/0.001406, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 79.88 kB / 482 MB, free: 4.133 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4342, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002116/0.4363, allocations: 0.5074 MB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.4367, allocations: 87.16 kB / 0.5322 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.4368, allocations: 0 / 0.5322 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.4368, allocations: 6.125 kB / 0.5322 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.4368, allocations: 0 / 0.5322 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.4371, allocations: 24.38 kB / 0.5322 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.4372, allocations: 6.281 kB / 0.5323 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.4373, allocations: 4 kB / 0.5323 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.4373, allocations: 11.17 kB / 0.5323 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.4374, allocations: 2.312 kB / 0.5323 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.4374, allocations: 5.094 kB / 0.5323 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4375, allocations: 31.66 kB / 0.5323 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.4375, allocations: 7.969 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.4376, allocations: 10.03 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.4377, allocations: 28.66 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4377, allocations: 4 kB / 0.5324 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4377, allocations: 0 / 0.5324 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4377, allocations: 0 / 0.5324 GB, free: 13.09 MB / 398.1 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.0004457/0.4382, allocations: 327.7 kB / 0.5327 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.4382, allocations: 7.094 kB / 0.5327 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4383, allocations: 4.594 kB / 0.5327 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4384, allocations: 160.4 kB / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4385, allocations: 384 / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.4385, allocations: 2.469 kB / 0.5328 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.4386, allocations: 59.06 kB / 0.5329 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4387, allocations: 192 / 0.5329 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4387, allocations: 7.438 kB / 0.5329 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4387, allocations: 0 / 0.5329 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.4387, allocations: 15.08 kB / 0.5329 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.4391, allocations: 332 kB / 0.5332 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.255e-05/0.4392, allocations: 30.39 kB / 0.5333 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.4392, allocations: 11.45 kB / 0.5333 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4393, allocations: 0 / 0.5333 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4393, allocations: 38.38 kB / 0.5333 GB, free: 12.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4393, allocations: 0 / 0.5333 GB, free: 12.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.4395, allocations: 51.47 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4395, allocations: 56.78 kB / 0.5334 GB, free: 11.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.4396, allocations: 100.6 kB / 0.5335 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4397, allocations: 25.7 kB / 0.5335 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.4397, allocations: 81.52 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.4397, allocations: 13.17 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.4398, allocations: 21.78 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4399, allocations: 318.8 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.4399, allocations: 4.25 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.44, allocations: 23.22 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.257e-05/0.44, allocations: 36.52 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.44, allocations: 0 / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.4402, allocations: 58.84 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4402, allocations: 5.781 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4402, allocations: 0 / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4402, allocations: 1.094 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.4403, allocations: 18.41 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4403, allocations: 5.094 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.4403, allocations: 5.188 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4403, allocations: 1.188 kB / 0.5341 GB, free: 11.21 MB / 398.1 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 7.476e-05/0.4404, allocations: 111.9 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.4405, allocations: 5.203 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.4406, allocations: 62.91 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4406, allocations: 3.984 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4406, allocations: 1.375 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4406, allocations: 4 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4408, allocations: 158.7 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4408, allocations: 0 / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.4409, allocations: 11.41 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4409, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4409, allocations: 5.688 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4409, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4409, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.4411, allocations: 153.6 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.4411, allocations: 82.08 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4412, allocations: 3.984 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.4412, allocations: 1.344 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4413, allocations: 5.094 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4413, allocations: 2.281 kB / 0.5347 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.257e-05/0.4413, allocations: 76.56 kB / 0.5348 GB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.4413, allocations: 0 / 0.5348 GB, free: 10.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00024/0.4416, allocations: 9.562 kB / 0.5348 GB, free: 10.49 MB / 398.1 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 0.0001499/0.4417, allocations: 106.5 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4419, allocations: 23.69 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4419, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.4419, allocations: 25.8 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4421, allocations: 5.25 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.4425, allocations: 133.6 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4428, allocations: 0.6744 MB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.4428, allocations: 13.75 kB / 0.5357 GB, free: 9.508 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4428, allocations: 0 / 0.5357 GB, free: 9.508 MB / 398.1 MB Notification: Performance of Templates: time 0.002677/0.4455, allocations: 0.5789 MB / 0.5363 GB, free: 9.219 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches