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.00133/0.00133, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.00167, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.89 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, 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.001506/0.3085, allocations: 0.5041 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.3087, allocations: 90.88 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3088, allocations: 3.938 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.3088, allocations: 0 / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.732e-05/0.3088, allocations: 0 / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.309, allocations: 23.5 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.3091, allocations: 11.41 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3091, allocations: 0 / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.3091, allocations: 10.95 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.3092, allocations: 7.812 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3092, allocations: 4 kB / 0.5316 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3093, allocations: 25.94 kB / 0.5316 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3093, allocations: 13.47 kB / 0.5317 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.3094, allocations: 5.031 kB / 0.5317 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.553e-05/0.3094, allocations: 28.31 kB / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3095, allocations: 0 / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3095, allocations: 1.594 kB / 0.5317 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3095, 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.000365/0.3098, allocations: 324.5 kB / 0.532 GB, free: 12.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3099, allocations: 13.75 kB / 0.532 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3099, allocations: 2.062 kB / 0.532 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.31, allocations: 161.5 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.3101, allocations: 1.75 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3101, allocations: 1.844 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3102, allocations: 59.38 kB / 0.5322 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3102, allocations: 4.172 kB / 0.5322 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3102, allocations: 4.719 kB / 0.5322 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3102, allocations: 5.438 kB / 0.5322 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.3103, allocations: 9.859 kB / 0.5322 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.3106, allocations: 328.9 kB / 0.5326 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.3107, allocations: 27.77 kB / 0.5326 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.3107, allocations: 19.22 kB / 0.5326 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3107, allocations: 0 / 0.5326 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3108, allocations: 35.88 kB / 0.5326 GB, free: 11.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3108, allocations: 0 / 0.5326 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.3109, allocations: 58.25 kB / 0.5327 GB, free: 11.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.311, allocations: 52.72 kB / 0.5327 GB, free: 11.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.3111, allocations: 92.33 kB / 0.5328 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3111, allocations: 25.7 kB / 0.5329 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.3111, allocations: 85.47 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.3111, allocations: 21.2 kB / 0.533 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3112, allocations: 18.41 kB / 0.533 GB, free: 11.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.3113, allocations: 314.8 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.3113, allocations: 7.984 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.3113, allocations: 19.5 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.3114, allocations: 36.66 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3114, allocations: 4 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.938e-05/0.3115, allocations: 58.19 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3115, allocations: 9.547 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3115, allocations: 0 / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3116, allocations: 1.094 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3116, allocations: 10.81 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3116, allocations: 1.031 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.3117, allocations: 5.344 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3117, allocations: 6.25 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 6.401e-05/0.3117, allocations: 119 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3118, allocations: 1.219 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3119, allocations: 65.69 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3119, allocations: 1.344 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3119, allocations: 0 / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3119, allocations: 1.469 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3121, allocations: 158.8 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3121, allocations: 3.938 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.3121, allocations: 6.531 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3121, allocations: 1.188 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3122, allocations: 4 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3122, allocations: 1.156 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3122, allocations: 0 / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3123, allocations: 152.2 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.3123, allocations: 83.69 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3124, allocations: 0 / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.3124, allocations: 1.031 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.3124, allocations: 9.156 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3125, allocations: 5.188 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.3125, allocations: 77.72 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.3125, allocations: 0 / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3128, allocations: 14.06 kB / 0.5341 GB, free: 10.44 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.000109/0.3129, allocations: 97.53 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.313, allocations: 23.86 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.313, allocations: 0 / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.313, allocations: 22.12 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.000207/0.3133, allocations: 9.922 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.3135, 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.0002151/0.3137, allocations: 0.6747 MB / 0.535 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.353e-05/0.3137, allocations: 9.859 kB / 0.535 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.3138, allocations: 13.47 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3138, allocations: 0 / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Templates: time 0.002254/0.316, allocations: 461.9 kB / 0.5355 GB, free: 9.254 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