Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001252/0.001252, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009627/0.0009627, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8886/0.8886, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1348/0.1348, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.785e-05, allocations: 9.516 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002495/0.002533, allocations: 0.5028 MB / 407.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003661/0.002899, allocations: 89.56 kB / 407.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002932, allocations: 0 / 407.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.002954, allocations: 8 kB / 407.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.00298, allocations: 0 / 407.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.003262, allocations: 23.84 kB / 407.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.003341, allocations: 11.98 kB / 407.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.003401, allocations: 4 kB / 407.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.003452, allocations: 11.92 kB / 407.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.003511, allocations: 0 / 407.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003529, allocations: 0 / 407.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.003631, allocations: 35.95 kB / 407.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.003648, allocations: 0 / 407.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.003678, allocations: 11.98 kB / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003792, allocations: 19.97 kB / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003795, allocations: 0 / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.003796, allocations: 0 / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.003801, allocations: 3.938 kB / 407.6 MB, free: 12.82 MB / 346.7 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.0003368/0.004138, allocations: 258.3 kB / 407.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.004182, allocations: 12.02 kB / 407.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.004213, allocations: 38.75 kB / 407.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.004238, allocations: 0.9375 kB / 407.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.004316, allocations: 113.7 kB / 408 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004327, allocations: 8.375 kB / 408 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.004335, allocations: 384 / 408 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.004452, allocations: 51.97 kB / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00446, allocations: 192 / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.004469, allocations: 4.375 kB / 408 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.004477, allocations: 8.125 kB / 408 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.004515, allocations: 11.92 kB / 408.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.004783, allocations: 288.2 kB / 408.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.004827, allocations: 22.58 kB / 408.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.004856, allocations: 12.86 kB / 408.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.004871, allocations: 4 kB / 408.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.004893, allocations: 38.5 kB / 408.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004893, allocations: 3.938 kB / 408.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.005046, allocations: 53.78 kB / 408.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.005077, allocations: 55.39 kB / 408.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.005139, allocations: 97.81 kB / 408.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005149, allocations: 29.7 kB / 408.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.005183, allocations: 84.08 kB / 408.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.005193, allocations: 11.91 kB / 408.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005222, allocations: 21.7 kB / 408.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.005434, allocations: 315 kB / 409.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.005453, allocations: 8 kB / 409.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.005472, allocations: 17.7 kB / 409.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.005514, allocations: 33.66 kB / 409.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005516, allocations: 0 / 409.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.882e-05/0.005585, allocations: 57.56 kB / 409.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.005598, allocations: 8 kB / 409.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005603, allocations: 3.938 kB / 409.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.005615, allocations: 128 / 409.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.005679, allocations: 20.03 kB / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.005684, allocations: 0 / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.005698, allocations: 3.953 kB / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.005707, allocations: 7.984 kB / 409.2 MB, free: 10.93 MB / 346.7 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 5.114e-05/0.005758, allocations: 105.8 kB / 409.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.005772, allocations: 7.938 kB / 409.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.00587, allocations: 61.31 kB / 409.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.005873, allocations: 4 kB / 409.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005877, allocations: 0 / 409.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00588, allocations: 0 / 409.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.005977, allocations: 136.7 kB / 409.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.005979, allocations: 240 / 409.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.006001, allocations: 11.94 kB / 409.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006004, allocations: 3.938 kB / 409.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.00601, allocations: 0 / 409.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.006011, allocations: 0 / 409.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006012, allocations: 7.984 kB / 409.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.006092, allocations: 147.5 kB / 409.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.006101, allocations: 15.83 kB / 409.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.006111, allocations: 0 / 409.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.006136, allocations: 3.984 kB / 409.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.00616, allocations: 4 kB / 409.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.006163, allocations: 4 kB / 409.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.006187, allocations: 79.28 kB / 409.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006187, allocations: 0 / 409.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.006335, allocations: 8 kB / 409.8 MB, free: 10.26 MB / 346.7 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.0002889/0.006624, allocations: 0.6852 MB / 410.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.006707, allocations: 23.94 kB / 410.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.006709, allocations: 0 / 410.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.006726, allocations: 11.98 kB / 410.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.006875, allocations: 12.16 kB / 410.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.007172, allocations: 138.5 kB / 410.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.007216, allocations: 63.28 kB / 410.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.007241, allocations: 4 kB / 410.7 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.007269, allocations: 8.5 kB / 410.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.007269, allocations: 0 / 410.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.02493, allocations: 1.939 MB / 412.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.099, allocations: 7.922 kB / 412.7 MB, free: 7.285 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.229289965704083]