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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 83.81 kB / 0.4961 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2901, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001717/0.2918, allocations: 0.4977 MB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.2921, allocations: 91.73 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.2921, allocations: 3.938 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2921, allocations: 0 / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.712e-05/0.2921, allocations: 0 / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.2923, allocations: 15.92 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.2924, allocations: 15.98 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.2924, allocations: 0 / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.2925, allocations: 7.984 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.2925, allocations: 15.92 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2925, allocations: 4 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.2926, allocations: 27.97 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2926, allocations: 0 / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.2926, allocations: 7.938 kB / 0.5613 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.2927, allocations: 17.8 kB / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2927, allocations: 0 / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2927, allocations: 4 kB / 0.5614 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2927, allocations: 0 / 0.5614 GB, free: 3.316 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.0003562/0.2931, allocations: 254.3 kB / 0.5616 GB, free: 3.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2931, allocations: 16.03 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2932, allocations: 34.75 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.2932, allocations: 0.9375 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2933, allocations: 114.5 kB / 0.5618 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2933, allocations: 384 / 0.5618 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2933, allocations: 12.23 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2934, allocations: 59.91 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2934, allocations: 7.938 kB / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2934, allocations: 0 / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2934, allocations: 0 / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.2935, allocations: 8 kB / 0.5618 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.2938, allocations: 300.1 kB / 0.5621 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.2939, allocations: 30.55 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.2939, allocations: 8.859 kB / 0.5622 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2939, allocations: 0 / 0.5622 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.294, allocations: 38.56 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.294, allocations: 0 / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.2941, allocations: 57.67 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2942, allocations: 51.41 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.2943, allocations: 101.8 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2943, allocations: 29.83 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.2943, allocations: 80.14 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2943, allocations: 19.84 kB / 0.5625 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.2944, allocations: 13.72 kB / 0.5625 GB, free: 1.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2945, allocations: 318.8 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.2945, allocations: 4 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.2946, allocations: 21.72 kB / 0.5629 GB, free: 1.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.2946, allocations: 29.64 kB / 0.5629 GB, free: 1.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2946, allocations: 3.938 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.2947, allocations: 61.69 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2947, allocations: 4 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2947, allocations: 0 / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2947, allocations: 3.938 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.2948, allocations: 8 kB / 0.563 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2948, allocations: 0 / 0.563 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.2948, allocations: 7.953 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2948, allocations: 0 / 0.563 GB, free: 1.434 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.975e-05/0.2949, allocations: 117.8 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2949, allocations: 3.984 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2951, allocations: 69.47 kB / 0.5632 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2951, allocations: 3.938 kB / 0.5632 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2951, allocations: 0 / 0.5632 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2951, allocations: 0 / 0.5632 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2952, allocations: 136.7 kB / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2952, allocations: 0 / 0.5633 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.2953, allocations: 4 kB / 0.5633 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2953, allocations: 0 / 0.5633 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.2953, allocations: 4 kB / 0.5633 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2953, allocations: 3.938 kB / 0.5633 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2953, allocations: 240 / 0.5633 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2954, allocations: 151.5 kB / 0.5635 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.2954, allocations: 15.88 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2955, allocations: 4 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.2955, allocations: 0 / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.2955, allocations: 11.92 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2955, allocations: 0 / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.2956, allocations: 75.28 kB / 0.5636 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2956, allocations: 4 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.2958, allocations: 4 kB / 0.5636 GB, free: 0.7539 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.0004509/0.2963, allocations: 0.6813 MB / 0.5642 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.2964, allocations: 31.92 kB / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2964, allocations: 0 / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.2964, allocations: 8 kB / 0.5643 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.2966, allocations: 10.27 kB / 0.5643 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.297, allocations: 142.9 kB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.297, allocations: 59.34 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.2971, allocations: 12.06 kB / 0.5645 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.2971, allocations: 7.438 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2971, allocations: 0 / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3247, allocations: 1.807 MB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.76, allocations: 4.062 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.571635637897998]