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.001277/0.001277, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001522/0.3577, allocations: 0.5021 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.358, allocations: 96.23 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.358, allocations: 0 / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.358, allocations: 0 / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.873e-05/0.3581, allocations: 4 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.3583, allocations: 18.27 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.3583, allocations: 11.23 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3584, allocations: 1.156 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.3584, allocations: 6.781 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.3585, allocations: 11.23 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3585, allocations: 5.562 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.3586, allocations: 26.38 kB / 0.5316 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.3586, allocations: 7.984 kB / 0.5316 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.3586, allocations: 7.406 kB / 0.5317 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3587, allocations: 28.91 kB / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3587, allocations: 0 / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3588, allocations: 0 / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3588, allocations: 0 / 0.5317 GB, free: 13.05 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.0003622/0.3591, allocations: 333.9 kB / 0.532 GB, free: 12.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3592, allocations: 9.375 kB / 0.532 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3592, allocations: 8.438 kB / 0.532 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3593, allocations: 164.4 kB / 0.5322 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3593, allocations: 4.375 kB / 0.5322 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.3594, allocations: 3.875 kB / 0.5322 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.3595, allocations: 55.06 kB / 0.5322 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3595, allocations: 192 / 0.5322 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3595, allocations: 3.938 kB / 0.5322 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3595, allocations: 0 / 0.5322 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.3596, allocations: 15.53 kB / 0.5323 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.3599, allocations: 319.7 kB / 0.5326 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.3599, allocations: 27.7 kB / 0.5326 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.36, allocations: 14.36 kB / 0.5326 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.36, allocations: 1.375 kB / 0.5326 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.36, allocations: 39.95 kB / 0.5326 GB, free: 11.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3601, allocations: 0 / 0.5326 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001891/0.3603, allocations: 66.12 kB / 0.5327 GB, free: 11.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3603, allocations: 51.41 kB / 0.5328 GB, free: 11.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.3604, allocations: 92.61 kB / 0.5328 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3604, allocations: 27.08 kB / 0.5329 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.3604, allocations: 80.14 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3605, allocations: 21.2 kB / 0.533 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3605, allocations: 21.83 kB / 0.533 GB, free: 11.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3606, allocations: 312.3 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.3606, allocations: 12.06 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.3607, allocations: 27.14 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.3607, allocations: 31.34 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3608, allocations: 1.375 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.093e-05/0.3608, allocations: 58.06 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3609, allocations: 5.5 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3609, allocations: 32 / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3609, allocations: 5.375 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.361, allocations: 6.719 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.361, allocations: 9.266 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.361, allocations: 5.297 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.361, allocations: 1.344 kB / 0.5334 GB, free: 11.16 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 9.968e-05/0.3611, allocations: 115.1 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3612, allocations: 1.375 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.3613, allocations: 68.25 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3613, allocations: 5.344 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3613, allocations: 0 / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3613, allocations: 0 / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3615, allocations: 159.8 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3615, allocations: 0 / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.3615, allocations: 10.92 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.3615, allocations: 0 / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3616, allocations: 0.9375 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3616, allocations: 0 / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3616, allocations: 0.8438 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.3617, allocations: 161 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.3618, allocations: 82.03 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.3618, allocations: 1.094 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.3618, allocations: 0 / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.3619, allocations: 2 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3619, allocations: 5.703 kB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.3619, allocations: 77.44 kB / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 96 / 0.5341 GB, free: 10.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3622, allocations: 13.34 kB / 0.5341 GB, free: 10.43 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.0001327/0.3623, allocations: 102 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3624, allocations: 27.27 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3624, allocations: 1.312 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.3625, allocations: 12.97 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3627, allocations: 10.05 kB / 0.5343 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.3629, allocations: 106.5 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3632, allocations: 0.6818 MB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.93e-05/0.3632, allocations: 2.844 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.3633, allocations: 9.625 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3633, allocations: 0 / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Templates: time 0.002404/0.3657, allocations: 469.9 kB / 0.5355 GB, free: 9.246 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches