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.001661/0.001661, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001999/0.001999, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2163/0.2163, allocations: 46.95 MB / 360.9 MB, free: 4.074 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.001919/0.001919, allocations: 67.91 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2877, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001602/0.2893, allocations: 0.5032 MB / 0.5611 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.2895, allocations: 91.73 kB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.2896, allocations: 0 / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.2896, allocations: 0 / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.37e-05/0.2896, allocations: 0 / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2898, allocations: 15.92 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.2898, allocations: 23.97 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.2899, allocations: 0 / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.2899, allocations: 7.938 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2899, allocations: 7.984 kB / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.29, allocations: 4 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.29, allocations: 27.97 kB / 0.5612 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.29, allocations: 4 kB / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.2901, allocations: 3.938 kB / 0.5613 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.2902, allocations: 25.78 kB / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2902, allocations: 0 / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.2902, allocations: 7.938 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2902, allocations: 4 kB / 0.5613 GB, free: 3.543 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.0003482/0.2905, allocations: 254.3 kB / 0.5615 GB, free: 3.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2906, allocations: 12.03 kB / 0.5615 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2906, allocations: 30.75 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.2906, allocations: 0.9375 kB / 0.5616 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.2907, allocations: 110.5 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2907, allocations: 8.359 kB / 0.5617 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.2907, allocations: 4.312 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2908, allocations: 51.97 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2909, allocations: 11.94 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.2909, allocations: 0 / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2909, allocations: 0 / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.2909, allocations: 15.94 kB / 0.5618 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.2912, allocations: 292.2 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.2913, allocations: 22.52 kB / 0.5621 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.2913, allocations: 16.94 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2914, allocations: 0 / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2914, allocations: 34.56 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2914, allocations: 3.938 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.2916, allocations: 61.64 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2916, allocations: 51.41 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.2917, allocations: 93.86 kB / 0.5623 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2917, allocations: 25.7 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.2917, allocations: 88.12 kB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.2918, allocations: 15.84 kB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.2918, allocations: 17.72 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2919, allocations: 310.8 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.2919, allocations: 7.984 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.292, allocations: 21.72 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.292, allocations: 37.95 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.292, allocations: 3.938 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.62e-05/0.2921, allocations: 57.62 kB / 0.5629 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2921, allocations: 11.92 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2921, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2922, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.2922, allocations: 12.12 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2922, allocations: 0 / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.2922, allocations: 7.953 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2923, allocations: 4 kB / 0.5629 GB, free: 1.664 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.418e-05/0.2923, allocations: 117.8 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2924, allocations: 0 / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.2925, allocations: 69.3 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2925, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2925, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2925, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.2926, allocations: 128.7 kB / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2926, allocations: 0 / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.2927, allocations: 7.984 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2927, allocations: 0 / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2927, allocations: 11.94 kB / 0.5632 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2927, allocations: 0 / 0.5632 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2927, allocations: 0 / 0.5632 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2928, allocations: 155.4 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.2928, allocations: 11.89 kB / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2929, allocations: 0 / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.2929, allocations: 0 / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2929, allocations: 7.984 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2929, allocations: 0 / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.293, allocations: 79.28 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.293, allocations: 4 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.2932, allocations: 8.094 kB / 0.5635 GB, free: 0.9922 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.0004548/0.2937, allocations: 0.6852 MB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.2938, allocations: 23.92 kB / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2938, allocations: 0 / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.2938, allocations: 12 kB / 0.5642 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.294, allocations: 4 kB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.2943, allocations: 150.5 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.2944, allocations: 59.34 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.798e-05/0.2945, allocations: 12.05 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2945, allocations: 11.44 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2945, allocations: 0 / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.321, allocations: 1.825 MB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.59, allocations: 13.91 kB / 0.5662 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.345487350015901]