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.001643/0.001643, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002019/0.002019, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2325/0.2325, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.001841/0.001841, allocations: 63.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.123, allocations: 66 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001559/0.1246, allocations: 0.4952 MB / 0.5558 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.1249, allocations: 92.41 kB / 0.5559 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.1249, allocations: 0 / 0.5559 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1249, allocations: 3.938 kB / 0.5559 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.69e-05/0.1249, allocations: 0 / 0.5559 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.1251, allocations: 23.92 kB / 0.556 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1252, allocations: 7.984 kB / 0.556 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1252, allocations: 3.984 kB / 0.556 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.1252, allocations: 11.94 kB / 0.556 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.1253, allocations: 7.984 kB / 0.556 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1253, allocations: 0 / 0.556 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.1254, allocations: 31.97 kB / 0.556 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1254, allocations: 3.938 kB / 0.556 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.1254, allocations: 0 / 0.556 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.1255, allocations: 31.89 kB / 0.5561 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1255, allocations: 0 / 0.5561 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1255, allocations: 4 kB / 0.5561 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1255, allocations: 0 / 0.5561 GB, free: 5.156 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.0004191/0.1259, allocations: 331.4 kB / 0.5564 GB, free: 4.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.126, allocations: 12.03 kB / 0.5564 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.126, allocations: 42.72 kB / 0.5564 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.126, allocations: 0.9375 kB / 0.5564 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1262, allocations: 160.4 kB / 0.5566 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1262, allocations: 4.375 kB / 0.5566 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1262, allocations: 12.31 kB / 0.5566 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1263, allocations: 51.97 kB / 0.5566 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1263, allocations: 3.938 kB / 0.5566 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1263, allocations: 4 kB / 0.5567 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1263, allocations: 4 kB / 0.5567 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.1264, allocations: 4 kB / 0.5567 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1267, allocations: 333.1 kB / 0.557 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.1268, allocations: 26.52 kB / 0.557 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.1269, allocations: 20.88 kB / 0.557 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1269, allocations: 0 / 0.557 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1269, allocations: 30.56 kB / 0.5571 GB, free: 3.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1269, allocations: 0 / 0.5571 GB, free: 3.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.1271, allocations: 65.52 kB / 0.5571 GB, free: 3.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1271, allocations: 55.41 kB / 0.5572 GB, free: 3.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.1272, allocations: 97.86 kB / 0.5573 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1272, allocations: 25.7 kB / 0.5573 GB, free: 3.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.1273, allocations: 80.14 kB / 0.5574 GB, free: 3.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.1273, allocations: 19.83 kB / 0.5574 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1273, allocations: 17.72 kB / 0.5574 GB, free: 3.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1275, allocations: 310.8 kB / 0.5577 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.1275, allocations: 12.12 kB / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.1275, allocations: 21.7 kB / 0.5577 GB, free: 3.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.1276, allocations: 29.66 kB / 0.5578 GB, free: 3.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1276, allocations: 3.938 kB / 0.5578 GB, free: 3.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.539e-05/0.1277, allocations: 53.69 kB / 0.5578 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1277, allocations: 8 kB / 0.5578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1277, allocations: 0 / 0.5578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1277, allocations: 32 / 0.5578 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1278, allocations: 19.92 kB / 0.5578 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1278, allocations: 0 / 0.5578 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.1278, allocations: 3.953 kB / 0.5578 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1278, allocations: 4 kB / 0.5578 GB, free: 3.07 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.895e-05/0.1279, allocations: 109.8 kB / 0.5579 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1279, allocations: 0 / 0.5579 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1281, allocations: 61.19 kB / 0.558 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1281, allocations: 3.938 kB / 0.558 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1281, allocations: 4 kB / 0.558 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1281, allocations: 8.219 kB / 0.558 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1282, allocations: 153.8 kB / 0.5582 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1282, allocations: 7.984 kB / 0.5582 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.1283, allocations: 11.98 kB / 0.5582 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1283, allocations: 0 / 0.5582 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1283, allocations: 0 / 0.5582 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1283, allocations: 0 / 0.5582 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1283, allocations: 3.984 kB / 0.5582 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1284, allocations: 159.5 kB / 0.5583 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1285, allocations: 81.06 kB / 0.5584 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1285, allocations: 3.938 kB / 0.5584 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.1285, allocations: 0 / 0.5584 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1286, allocations: 11.98 kB / 0.5584 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.1286, allocations: 7.875 kB / 0.5584 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.1286, allocations: 75.28 kB / 0.5585 GB, free: 2.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 4 kB / 0.5585 GB, free: 2.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1288, allocations: 7.938 kB / 0.5585 GB, free: 2.27 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.0004699/0.1293, allocations: 0.6813 MB / 0.5592 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.1294, allocations: 27.92 kB / 0.5592 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1294, allocations: 0 / 0.5592 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.1294, allocations: 12 kB / 0.5592 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1296, allocations: 8.062 kB / 0.5592 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.13, allocations: 138.7 kB / 0.5594 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1303, allocations: 0.6729 MB / 0.56 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1303, allocations: 7.984 kB / 0.56 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.1304, allocations: 11.44 kB / 0.56 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1304, allocations: 0 / 0.56 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1553, allocations: 1.307 MB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.757, allocations: 15.27 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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: 10.920727281991276]