Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.91 kB / 0.4961 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3048, allocations: 66.04 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001726/0.3065, allocations: 0.5072 MB / 0.5611 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003402/0.3068, allocations: 99.7 kB / 0.5612 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.3069, allocations: 0 / 0.5612 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.3069, allocations: 3.938 kB / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.164e-05/0.3069, allocations: 0 / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.3071, allocations: 7.984 kB / 0.5612 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.3072, allocations: 19.92 kB / 0.5613 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.3073, allocations: 0 / 0.5613 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.3073, allocations: 7.938 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.3073, allocations: 15.98 kB / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3074, allocations: 0 / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.3074, allocations: 31.97 kB / 0.5613 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3075, allocations: 3.938 kB / 0.5613 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.3075, allocations: 0 / 0.5613 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3076, allocations: 29.72 kB / 0.5613 GB, free: 3.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3076, allocations: 4 kB / 0.5613 GB, free: 3.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3076, allocations: 0 / 0.5613 GB, free: 3.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3076, allocations: 0 / 0.5613 GB, free: 3.754 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.0004154/0.308, allocations: 258.3 kB / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3081, allocations: 12.03 kB / 0.5616 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3081, allocations: 34.75 kB / 0.5616 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.3081, allocations: 0.9375 kB / 0.5616 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.3082, allocations: 110.5 kB / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.3082, allocations: 384 / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3082, allocations: 384 / 0.5617 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3084, allocations: 59.91 kB / 0.5618 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3084, allocations: 7.938 kB / 0.5618 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3084, allocations: 0 / 0.5618 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3084, allocations: 4 kB / 0.5618 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.3084, allocations: 4 kB / 0.5618 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.3087, allocations: 296.2 kB / 0.5621 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.3088, allocations: 30.45 kB / 0.5621 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.3089, allocations: 16.86 kB / 0.5621 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3089, allocations: 0 / 0.5621 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3089, allocations: 38.59 kB / 0.5622 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3089, allocations: 0 / 0.5622 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001921/0.3091, allocations: 65.69 kB / 0.5622 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3091, allocations: 55.41 kB / 0.5623 GB, free: 2.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.3092, allocations: 93.86 kB / 0.5624 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3092, allocations: 25.83 kB / 0.5624 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.3093, allocations: 88.14 kB / 0.5625 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3093, allocations: 15.84 kB / 0.5625 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.3093, allocations: 17.7 kB / 0.5625 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3095, allocations: 314.8 kB / 0.5628 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.3095, allocations: 4 kB / 0.5628 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.3095, allocations: 25.7 kB / 0.5629 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.3096, allocations: 29.7 kB / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3096, allocations: 7.875 kB / 0.5629 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.143e-05/0.3097, allocations: 53.81 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3097, allocations: 8 kB / 0.563 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3097, allocations: 4 kB / 0.563 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3097, allocations: 0 / 0.563 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.3098, allocations: 8 kB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3098, allocations: 7.922 kB / 0.563 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.3098, allocations: 3.953 kB / 0.563 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3098, allocations: 8.031 kB / 0.563 GB, free: 1.863 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 8.814e-05/0.3099, allocations: 117.7 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3099, allocations: 4 kB / 0.5631 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.31, allocations: 53.38 kB / 0.5631 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.31, allocations: 4 kB / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3101, allocations: 0 / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3101, allocations: 0 / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3102, allocations: 132.7 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3102, allocations: 0 / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3103, allocations: 23.92 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3103, allocations: 0 / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3103, allocations: 0 / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3103, allocations: 0 / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3103, allocations: 4 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.3104, allocations: 147.5 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.3104, allocations: 7.891 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3104, allocations: 7.938 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.3105, allocations: 8 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.3105, allocations: 0 / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3105, allocations: 4.109 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.3106, allocations: 79.28 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3106, allocations: 3.938 kB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.3108, allocations: 4 kB / 0.5636 GB, free: 1.191 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.0004931/0.3113, allocations: 0.693 MB / 0.5642 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.3114, allocations: 27.92 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3114, allocations: 0 / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.3114, allocations: 8 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.3117, allocations: 8 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.3121, allocations: 138.6 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3124, allocations: 0.6768 MB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.3124, allocations: 8.062 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.3125, allocations: 11.42 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3125, allocations: 0 / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.3398, allocations: 1.412 MB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.69, allocations: 6.875 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.546047583920881]