Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001104/0.001104, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001041/0.001041, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8681/0.8681, allocations: 177 MB / 204.1 MB, free: 5.75 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.2259/0.2259, allocations: 34.25 MB / 294.8 MB, free: 0.6719 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.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.819e-05, allocations: 9.172 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001112/0.00113, allocations: 0.4934 MB / 442.6 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.00141, allocations: 99.66 kB / 442.7 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.001436, allocations: 0 / 442.7 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.00145, allocations: 0 / 442.7 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.001665, allocations: 23.86 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.409e-05/0.001679, allocations: 4 kB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.633e-05/0.001725, allocations: 0 / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.001764, allocations: 7.984 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.001793, allocations: 3.938 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.001834, allocations: 7.984 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.001847, allocations: 0 / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.87e-05/0.001915, allocations: 15.98 kB / 442.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.001928, allocations: 4 kB / 442.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.001942, allocations: 3.938 kB / 442.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.002024, allocations: 23.95 kB / 442.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002025, allocations: 4 kB / 442.8 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.002027, allocations: 0 / 442.8 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.002031, allocations: 0 / 442.8 MB, free: 0.8867 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.0005401/0.002571, allocations: 246.4 kB / 443.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.002612, allocations: 12.03 kB / 443.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.002643, allocations: 34.69 kB / 443.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.002664, allocations: 4.875 kB / 443.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.002747, allocations: 113.7 kB / 443.2 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.002757, allocations: 384 / 443.2 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.002774, allocations: 384 / 443.2 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.002853, allocations: 42.23 kB / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.002863, allocations: 192 / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.00287, allocations: 384 / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.002877, allocations: 8.125 kB / 443.3 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.002909, allocations: 11.94 kB / 443.3 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.003022, allocations: 124.8 kB / 443.4 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.003193, allocations: 30.61 kB / 443.4 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.003217, allocations: 12.86 kB / 443.5 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.003424, allocations: 36.05 kB / 443.5 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.00344, allocations: 38.55 kB / 443.5 MB, free: 52 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.003441, allocations: 0 / 443.5 MB, free: 52 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.1722/0.1757, allocations: 178.9 kB / 443.7 MB, free: 44.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1757, allocations: 53.03 kB / 443.8 MB, free: 44.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.118e-05/0.1757, allocations: 95.95 kB / 443.8 MB, free: 44.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.1757, allocations: 27.27 kB / 443.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-06/0.1757, allocations: 80.14 kB / 444 MB, free: 43.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1758, allocations: 18.06 kB / 444 MB, free: 43.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1758, allocations: 22.34 kB / 444 MB, free: 43.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.962e-05/0.1758, allocations: 310.8 kB / 444.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.1759, allocations: 19.67 kB / 444.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.1759, allocations: 21.45 kB / 444.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.176, allocations: 46.95 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.176, allocations: 3.844 kB / 444.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.1761, allocations: 84.27 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1761, allocations: 5.25 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1761, allocations: 3 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1761, allocations: 2.656 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.1762, allocations: 14.36 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1762, allocations: 1.875 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.1762, allocations: 6.891 kB / 444.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1763, allocations: 2.719 kB / 444.5 MB, free: 43.57 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 3.568e-05/0.1763, allocations: 116.2 kB / 444.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.1763, allocations: 8.016 kB / 444.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1764, allocations: 86.66 kB / 444.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1765, allocations: 2.688 kB / 444.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1765, allocations: 0 / 444.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1765, allocations: 0 / 444.7 MB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.1768, allocations: 333.3 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1768, allocations: 0.8438 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.1768, allocations: 14.08 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1769, allocations: 0 / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1769, allocations: 4 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1769, allocations: 0 / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1769, allocations: 0 / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.177, allocations: 188.7 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-06/0.177, allocations: 0 / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.177, allocations: 7.312 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.177, allocations: 7.859 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.177, allocations: 3.281 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.177, allocations: 9.859 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.051e-05/0.1771, allocations: 75.78 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1771, allocations: 0 / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.1772, allocations: 13.22 kB / 445.4 MB, free: 42.93 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.0002432/0.1775, allocations: 0.7069 MB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.1776, allocations: 51.33 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1776, allocations: 0 / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.1776, allocations: 24.61 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.1778, allocations: 2.531 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1781, allocations: 164 kB / 446.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.1781, allocations: 60.95 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.1781, allocations: 12.09 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1782, allocations: 18.36 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1782, allocations: 5.031 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1917, allocations: 2.148 MB / 448.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/7.006, allocations: 14.03 kB / 448.6 MB, free: 41.17 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.024221731349826]