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.001779/0.001779, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001986/0.001986, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.476/1.476, allocations: 230.4 MB / 254 MB, free: 15.04 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.2192/0.2192, allocations: 46.92 MB / 357 MB, free: 10.22 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.0023/0.0023, allocations: 83.88 kB / 0.491 GB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1285, allocations: 66.04 MB / 0.5555 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001696/0.1302, allocations: 0.5086 MB / 0.5559 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1305, allocations: 88.41 kB / 0.556 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1305, allocations: 7.938 kB / 0.556 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1305, allocations: 0 / 0.556 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.741e-05/0.1305, allocations: 0 / 0.556 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1307, allocations: 19.91 kB / 0.5561 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1308, allocations: 12 kB / 0.5561 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.1308, allocations: 3.984 kB / 0.5561 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.1308, allocations: 7.938 kB / 0.5561 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.1309, allocations: 4 kB / 0.5561 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1309, allocations: 4 kB / 0.5561 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.131, allocations: 27.95 kB / 0.5561 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.131, allocations: 19.92 kB / 0.5561 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.131, allocations: 0 / 0.5561 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.583e-05/0.1311, allocations: 23.91 kB / 0.5562 GB, free: 4.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1311, allocations: 0 / 0.5562 GB, free: 4.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1311, allocations: 0 / 0.5562 GB, free: 4.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1311, allocations: 0 / 0.5562 GB, free: 4.883 MB / 414.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.0003975/0.1315, allocations: 335.4 kB / 0.5565 GB, free: 4.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1315, allocations: 8.031 kB / 0.5565 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.1316, allocations: 30.75 kB / 0.5565 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1316, allocations: 8.938 kB / 0.5565 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1317, allocations: 164.4 kB / 0.5567 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1317, allocations: 384 / 0.5567 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1317, allocations: 12.31 kB / 0.5567 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1319, allocations: 51.97 kB / 0.5567 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1319, allocations: 3.938 kB / 0.5567 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.1319, allocations: 0 / 0.5567 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1319, allocations: 0 / 0.5567 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.1319, allocations: 12 kB / 0.5568 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1323, allocations: 329.1 kB / 0.5571 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.1323, allocations: 26.52 kB / 0.5571 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.1323, allocations: 12.86 kB / 0.5571 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1324, allocations: 0 / 0.5571 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1324, allocations: 34.56 kB / 0.5571 GB, free: 3.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1324, allocations: 0 / 0.5571 GB, free: 3.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.1326, allocations: 69.61 kB / 0.5572 GB, free: 3.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1326, allocations: 55.39 kB / 0.5573 GB, free: 3.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.1327, allocations: 93.8 kB / 0.5573 GB, free: 3.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1327, allocations: 29.7 kB / 0.5574 GB, free: 3.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1328, allocations: 80.14 kB / 0.5575 GB, free: 3.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1328, allocations: 19.83 kB / 0.5575 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1328, allocations: 25.83 kB / 0.5575 GB, free: 3.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1329, allocations: 310.8 kB / 0.5578 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.1329, allocations: 4 kB / 0.5578 GB, free: 2.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.133, allocations: 25.7 kB / 0.5578 GB, free: 2.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.133, allocations: 33.83 kB / 0.5579 GB, free: 2.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.133, allocations: 7.938 kB / 0.5579 GB, free: 2.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.996e-05/0.1331, allocations: 53.69 kB / 0.5579 GB, free: 2.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1331, allocations: 4 kB / 0.5579 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1331, allocations: 128 / 0.5579 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1332, allocations: 7.938 kB / 0.5579 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.1332, allocations: 8 kB / 0.5579 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1332, allocations: 0 / 0.5579 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.1333, allocations: 7.953 kB / 0.5579 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1333, allocations: 3.984 kB / 0.5579 GB, free: 2.797 MB / 414.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.795e-05/0.1333, allocations: 117.8 kB / 0.5581 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1334, allocations: 4.031 kB / 0.5581 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1335, allocations: 65.12 kB / 0.5581 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1335, allocations: 0 / 0.5581 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1335, allocations: 0 / 0.5581 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1335, allocations: 0 / 0.5581 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1337, allocations: 157.6 kB / 0.5583 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1337, allocations: 0 / 0.5583 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1337, allocations: 8 kB / 0.5583 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1337, allocations: 0 / 0.5583 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1337, allocations: 3.984 kB / 0.5583 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1337, allocations: 4 kB / 0.5583 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1337, allocations: 4 kB / 0.5583 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1338, allocations: 151.5 kB / 0.5584 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.1339, allocations: 81.06 kB / 0.5585 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1339, allocations: 7.938 kB / 0.5585 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.7e-05/0.1339, allocations: 0 / 0.5585 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.134, allocations: 3.938 kB / 0.5585 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.134, allocations: 4.125 kB / 0.5585 GB, free: 2.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.134, allocations: 83.27 kB / 0.5586 GB, free: 2.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.134, allocations: 0 / 0.5586 GB, free: 2.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1342, allocations: 11.94 kB / 0.5586 GB, free: 2.004 MB / 414.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.0004382/0.1347, allocations: 0.689 MB / 0.5593 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.1348, allocations: 28.02 kB / 0.5593 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1348, allocations: 0 / 0.5593 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.1348, allocations: 12 kB / 0.5593 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.135, allocations: 4 kB / 0.5593 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1353, allocations: 134.7 kB / 0.5595 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1356, allocations: 0.6768 MB / 0.5601 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.1356, allocations: 8.062 kB / 0.5601 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1357, allocations: 7.438 kB / 0.5601 GB, free: 360 kB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1357, allocations: 0 / 0.5601 GB, free: 360 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1625, allocations: 1.308 MB / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.811, allocations: 7.797 kB / 0.5614 GB, free: 15.14 MB / 430.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.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: 10.876298407907598]