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.001571/0.001571, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001959/0.001959, allocations: 212.5 kB / 24.54 MB, free: 4.016 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.425/1.425, allocations: 230.3 MB / 258 MB, free: 8.258 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.2202/0.2202, allocations: 46.89 MB / 361.3 MB, free: 4.469 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.002209/0.002209, allocations: 75.88 kB / 0.4966 GB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3284, allocations: 66.03 MB / 0.561 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00166/0.3301, allocations: 0.4954 MB / 0.5615 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.3304, allocations: 103.7 kB / 0.5616 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.3304, allocations: 0 / 0.5616 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3304, allocations: 4 kB / 0.5616 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.066e-05/0.3304, allocations: 3.938 kB / 0.5616 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3306, allocations: 15.97 kB / 0.5616 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.3307, allocations: 4 kB / 0.5617 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.3307, allocations: 7.984 kB / 0.5617 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.614e-05/0.3307, allocations: 11.94 kB / 0.5617 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.3308, allocations: 0 / 0.5617 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3308, allocations: 0 / 0.5617 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.3309, allocations: 35.95 kB / 0.5617 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3309, allocations: 0 / 0.5617 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3309, allocations: 15.94 kB / 0.5617 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.331, allocations: 29.86 kB / 0.5617 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.331, allocations: 0 / 0.5617 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.331, allocations: 3.938 kB / 0.5618 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.331, allocations: 0 / 0.5618 GB, free: 3.957 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.0004343/0.3315, allocations: 335.4 kB / 0.5621 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3315, allocations: 8.031 kB / 0.5621 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3315, allocations: 30.75 kB / 0.5621 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.3316, allocations: 4.938 kB / 0.5621 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3317, allocations: 168.4 kB / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3317, allocations: 384 / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3317, allocations: 4.375 kB / 0.5623 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3319, allocations: 51.97 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3319, allocations: 3.938 kB / 0.5623 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3319, allocations: 4 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.3319, allocations: 7.938 kB / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.3319, allocations: 8 kB / 0.5624 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.3322, allocations: 321.2 kB / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.3323, allocations: 30.45 kB / 0.5627 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3323, allocations: 12.86 kB / 0.5627 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3324, allocations: 0 / 0.5627 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3324, allocations: 42.55 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.3324, allocations: 4 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.3326, allocations: 53.73 kB / 0.5628 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3326, allocations: 59.39 kB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.3327, allocations: 93.86 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3327, allocations: 25.7 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3328, allocations: 84.14 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3328, allocations: 23.72 kB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3328, allocations: 21.64 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.333, allocations: 319 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.333, allocations: 4 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.333, allocations: 25.7 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.57e-05/0.3331, allocations: 21.72 kB / 0.5634 GB, free: 1.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3331, allocations: 3.938 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.303e-05/0.3332, allocations: 61.62 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3332, allocations: 10.06 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3332, allocations: 0 / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3332, allocations: 0 / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3333, allocations: 8 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3333, allocations: 0 / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.3333, allocations: 7.953 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.3333, allocations: 7.969 kB / 0.5635 GB, free: 1.875 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.027e-05/0.3334, allocations: 117.7 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3334, allocations: 4 kB / 0.5637 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3335, allocations: 57.38 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.3335, allocations: 4 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3335, allocations: 0 / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3335, allocations: 0 / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.3337, allocations: 165.6 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3337, allocations: 0 / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3337, allocations: 8 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3338, allocations: 3.984 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3338, allocations: 192 / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3338, allocations: 4 kB / 0.5639 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3338, allocations: 4 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.3339, allocations: 155.4 kB / 0.564 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.334, allocations: 85 kB / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.334, allocations: 0 / 0.5641 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.334, allocations: 8 kB / 0.5641 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3341, allocations: 0 / 0.5641 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3341, allocations: 0 / 0.5641 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.347e-05/0.3341, allocations: 87.27 kB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 3.938 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.3343, allocations: 4 kB / 0.5642 GB, free: 1.07 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.0005172/0.3349, allocations: 0.6812 MB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.335, allocations: 27.98 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.335, allocations: 4.156 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.335, allocations: 11.94 kB / 0.5649 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.3352, allocations: 7.938 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.3356, allocations: 134.6 kB / 0.5651 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.336, allocations: 0.6807 MB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.336, allocations: 4 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.336, allocations: 19.42 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.336, allocations: 0 / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3585, allocations: 1.312 MB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.678, allocations: 0 / 0.567 GB, free: 14.17 MB / 414.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 10.584653296973556]