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.0008209/0.0008209, allocations: 76.36 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0007979/0.0007979, allocations: 164.9 kB / 23.95 MB, free: 0.5938 MB / 18.57 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 0.8984/0.8984, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2373/0.2373, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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 1.643e-06/1.643e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.743e-05, allocations: 4.531 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009611/0.0009786, allocations: 0.5011 MB / 442.6 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.001208, allocations: 87.73 kB / 442.7 MB, free: 1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.001228, allocations: 4 kB / 442.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.001242, allocations: 0 / 442.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.923e-05/0.001261, allocations: 0 / 442.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.00144, allocations: 23.84 kB / 442.7 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.001489, allocations: 7.938 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.00153, allocations: 4 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.00157, allocations: 23.91 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.001611, allocations: 0 / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.001626, allocations: 0 / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.001687, allocations: 31.95 kB / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.001699, allocations: 0 / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.001715, allocations: 11.94 kB / 442.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.001801, allocations: 23.95 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.001803, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001803, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.001807, allocations: 0 / 442.9 MB, free: 0.8711 MB / 410.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.0002985/0.002106, allocations: 262.3 kB / 443.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.002146, allocations: 12.02 kB / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.002172, allocations: 34.75 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.763e-05/0.00219, allocations: 0.9375 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.686e-05/0.002257, allocations: 101.8 kB / 443.3 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.002267, allocations: 8.375 kB / 443.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.002273, allocations: 384 / 443.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.002368, allocations: 55.91 kB / 443.3 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.002375, allocations: 192 / 443.3 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.002382, allocations: 384 / 443.3 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.002387, allocations: 12.12 kB / 443.3 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.00242, allocations: 11.98 kB / 443.3 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1729/0.1753, allocations: 288.2 kB / 443.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1754, allocations: 22.23 kB / 443.6 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.1754, allocations: 14.14 kB / 443.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1755, allocations: 2.719 kB / 443.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1755, allocations: 34.31 kB / 443.7 MB, free: 43.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1755, allocations: 0 / 443.7 MB, free: 43.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.1756, allocations: 61.81 kB / 443.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1757, allocations: 53.91 kB / 443.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.676e-05/0.1757, allocations: 100.8 kB / 443.9 MB, free: 43.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.1757, allocations: 25.7 kB / 443.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.1758, allocations: 81.02 kB / 444 MB, free: 43.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.1758, allocations: 16.3 kB / 444 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1758, allocations: 18.53 kB / 444 MB, free: 43.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.1758, allocations: 319 kB / 444.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.1758, allocations: 5.812 kB / 444.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.1759, allocations: 19.97 kB / 444.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.1759, allocations: 37.06 kB / 444.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1759, allocations: 0 / 444.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.088e-05/0.1759, allocations: 55.17 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.176, allocations: 5.5 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.176, allocations: 5.312 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.176, allocations: 0 / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.1761, allocations: 13.25 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1761, allocations: 1.875 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1761, allocations: 8.578 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1761, allocations: 6.531 kB / 444.5 MB, free: 43.24 MB / 410.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 3.797e-05/0.1761, allocations: 109.8 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1761, allocations: 5.781 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.1762, allocations: 63.67 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1762, allocations: 0 / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1762, allocations: 0 / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1762, allocations: 3.031 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.1763, allocations: 134.2 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1763, allocations: 0 / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.1763, allocations: 8.594 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1763, allocations: 5.75 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1764, allocations: 0.6875 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1764, allocations: 2.969 kB / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1764, allocations: 0 / 444.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.1764, allocations: 153 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.1764, allocations: 7.328 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.1764, allocations: 0.6562 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.429e-05/0.1765, allocations: 4.531 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1765, allocations: 7.219 kB / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1765, allocations: 0 / 445 MB, free: 42.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.354e-05/0.1765, allocations: 84.89 kB / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1765, allocations: 0 / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.1766, allocations: 14.16 kB / 445.1 MB, free: 42.72 MB / 410.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.0001837/0.1768, allocations: 0.6775 MB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.1769, allocations: 25.52 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.1769, allocations: 3.594 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.1769, allocations: 14.48 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1771, allocations: 1.312 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1773, allocations: 140.6 kB / 446 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.1774, allocations: 64.08 kB / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.1774, allocations: 6.938 kB / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1774, allocations: 18.2 kB / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1774, allocations: 0 / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.1915, allocations: 1.933 MB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.992, allocations: 13.58 kB / 448 MB, free: 41.03 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/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: 9.028531398624182]