Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.0008312/0.0008312, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008116/0.0008116, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9228/0.9228, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 32.8 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 3.984 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.999e-05, allocations: 2.281 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009578/0.0009778, allocations: 0.4914 MB / 440.1 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.001218, allocations: 95.66 kB / 440.2 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.001241, allocations: 4 kB / 440.2 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.001255, allocations: 4 kB / 440.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.001463, allocations: 15.86 kB / 440.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.322e-05/0.001476, allocations: 0 / 440.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.704e-05/0.001523, allocations: 8 kB / 440.2 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.001564, allocations: 7.922 kB / 440.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.001591, allocations: 7.938 kB / 440.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.001628, allocations: 0 / 440.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.00164, allocations: 0 / 440.2 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.00171, allocations: 23.97 kB / 440.2 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.001721, allocations: 4 kB / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.001734, allocations: 3.984 kB / 440.2 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.001818, allocations: 15.98 kB / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00182, allocations: 0 / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00182, allocations: 0 / 440.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.001824, allocations: 0 / 440.2 MB, free: 3.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002411/0.002065, allocations: 254.3 kB / 440.5 MB, free: 3.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.002101, allocations: 8.031 kB / 440.5 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.002127, allocations: 30.75 kB / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.002146, allocations: 4.938 kB / 440.5 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.505e-05/0.002211, allocations: 105.7 kB / 440.6 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.00222, allocations: 8.359 kB / 440.7 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.002238, allocations: 4.375 kB / 440.7 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.694e-05/0.002315, allocations: 38.25 kB / 440.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.002323, allocations: 192 / 440.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.00233, allocations: 384 / 440.7 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.002335, allocations: 4.125 kB / 440.7 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.002366, allocations: 11.92 kB / 440.7 MB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.002477, allocations: 120.8 kB / 440.8 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.002637, allocations: 38.55 kB / 440.9 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.002655, allocations: 8.859 kB / 440.9 MB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.002857, allocations: 48.03 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.002872, allocations: 30.56 kB / 441 MB, free: 2.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.002873, allocations: 0 / 441 MB, free: 2.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006607/0.003534, allocations: 185.3 kB / 441.1 MB, free: 2.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.003561, allocations: 55.41 kB / 441.2 MB, free: 2.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/0.003604, allocations: 93.86 kB / 441.3 MB, free: 2.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.003614, allocations: 25.7 kB / 441.3 MB, free: 2.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.003635, allocations: 84.08 kB / 441.4 MB, free: 2.277 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.003666, allocations: 27.81 kB / 441.4 MB, free: 2.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.003693, allocations: 13.72 kB / 441.4 MB, free: 2.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.003762, allocations: 314.8 kB / 441.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.003809, allocations: 24.09 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.003847, allocations: 19.98 kB / 441.8 MB, free: 1.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.003926, allocations: 40.83 kB / 441.8 MB, free: 1.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.003927, allocations: 4 kB / 441.8 MB, free: 1.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001052/0.004032, allocations: 77.86 kB / 441.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004043, allocations: 7.984 kB / 441.9 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004048, allocations: 0 / 441.9 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.00406, allocations: 7.938 kB / 441.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.004121, allocations: 19.92 kB / 441.9 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.004126, allocations: 3.938 kB / 441.9 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.00416, allocations: 4 kB / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.004166, allocations: 0 / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.213e-05/0.004218, allocations: 113.8 kB / 442 MB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.004225, allocations: 3.953 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.004623, allocations: 93.31 kB / 442.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.004626, allocations: 7.922 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00463, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004633, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.005008, allocations: 318.4 kB / 442.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005009, allocations: 0 / 442.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.005049, allocations: 23.95 kB / 442.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005051, allocations: 0 / 442.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005058, allocations: 0 / 442.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.00506, allocations: 3.984 kB / 442.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005061, allocations: 0 / 442.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.005184, allocations: 180.6 kB / 442.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.00519, allocations: 7.953 kB / 442.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.005199, allocations: 0 / 442.7 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.005243, allocations: 4.188 kB / 442.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.005256, allocations: 15.91 kB / 442.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.005261, allocations: 8 kB / 442.7 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.877e-05/0.00528, allocations: 75.28 kB / 442.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00528, allocations: 0 / 442.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.005432, allocations: 12 kB / 442.8 MB, free: 0.7578 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003133/0.005745, allocations: 0.7132 MB / 443.5 MB, free: 16 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.167/0.1728, allocations: 44.11 kB / 443.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1728, allocations: 0 / 443.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.1728, allocations: 25.3 kB / 443.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.173, allocations: 5.75 kB / 443.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1734, allocations: 166.5 kB / 443.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.1735, allocations: 63.11 kB / 443.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.1735, allocations: 11.64 kB / 443.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1736, allocations: 11.34 kB / 443.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1736, allocations: 0 / 443.8 MB, free: 45.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1872, allocations: 2.154 MB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.007, allocations: 14.2 kB / 446 MB, free: 45 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.127756628207862]