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.0008123/0.0008123, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0007914/0.0007914, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8453/0.8453, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.2236/0.2236, allocations: 32.8 MB / 293.5 MB, free: 1.23 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 1.744e-06/1.744e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.723e-05, allocations: 2.281 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001508/0.001525, allocations: 0.5017 MB / 440.1 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.001846, allocations: 95.66 kB / 440.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.001874, allocations: 3.938 kB / 440.2 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.00189, allocations: 0 / 440.2 MB, free: 3.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.002132, allocations: 19.86 kB / 440.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.744e-05/0.00215, allocations: 4 kB / 440.2 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.002211, allocations: 11.98 kB / 440.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.002264, allocations: 0 / 440.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.002302, allocations: 7.984 kB / 440.2 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.002351, allocations: 3.938 kB / 440.2 MB, free: 3.645 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.002367, allocations: 0 / 440.2 MB, free: 3.645 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.002465, allocations: 23.97 kB / 440.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.002479, allocations: 0 / 440.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.002497, allocations: 0 / 440.2 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.002603, allocations: 15.98 kB / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.002605, allocations: 0 / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002606, allocations: 0 / 440.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.002612, allocations: 7.984 kB / 440.3 MB, free: 3.598 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.0003302/0.002943, allocations: 246.4 kB / 440.5 MB, free: 3.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.002991, allocations: 8.031 kB / 440.5 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.00318, allocations: 30.75 kB / 440.5 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.003209, allocations: 4.875 kB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.003325, allocations: 117.7 kB / 440.6 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.003342, allocations: 8.359 kB / 440.7 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.003366, allocations: 384 / 440.7 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.003481, allocations: 34.27 kB / 440.7 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.003494, allocations: 192 / 440.7 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.003503, allocations: 4.375 kB / 440.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.003509, allocations: 4.125 kB / 440.7 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.003556, allocations: 11.98 kB / 440.7 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.003713, allocations: 120.8 kB / 440.8 MB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.003915, allocations: 42.48 kB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.003941, allocations: 12.86 kB / 440.9 MB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.004219, allocations: 40.03 kB / 440.9 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.004238, allocations: 34.56 kB / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.00424, allocations: 0 / 441 MB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007892/0.005029, allocations: 185.3 kB / 441.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.005056, allocations: 51.41 kB / 441.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.005101, allocations: 101.8 kB / 441.3 MB, free: 2.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005111, allocations: 25.7 kB / 441.3 MB, free: 2.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.00513, allocations: 80.14 kB / 441.4 MB, free: 2.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.005165, allocations: 19.84 kB / 441.4 MB, free: 2.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.005196, allocations: 17.72 kB / 441.4 MB, free: 2.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.005268, allocations: 314.8 kB / 441.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.005314, allocations: 19.98 kB / 441.8 MB, free: 1.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.00535, allocations: 15.98 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.005434, allocations: 49.14 kB / 441.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.005435, allocations: 0 / 441.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001085/0.005544, allocations: 85.59 kB / 441.9 MB, free: 1.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.005557, allocations: 4 kB / 441.9 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005561, allocations: 0 / 441.9 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.005575, allocations: 3.938 kB / 441.9 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.005637, allocations: 15.98 kB / 441.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.005643, allocations: 0 / 441.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.005678, allocations: 7.984 kB / 441.9 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005684, allocations: 4 kB / 441.9 MB, free: 1.715 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.202e-05/0.005736, allocations: 113.8 kB / 442 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.005743, allocations: 7.891 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.005903, allocations: 93.23 kB / 442.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.005905, allocations: 3.938 kB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.005909, allocations: 0 / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005912, allocations: 4 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.006309, allocations: 318.4 kB / 442.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.006311, allocations: 3.984 kB / 442.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.00635, allocations: 8 kB / 442.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006352, allocations: 8.312 kB / 442.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.006359, allocations: 0 / 442.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00636, allocations: 0 / 442.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006361, allocations: 32 / 442.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006489, allocations: 192.2 kB / 442.7 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006496, allocations: 7.953 kB / 442.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.006507, allocations: 192 / 442.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.006553, allocations: 11.98 kB / 442.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.006565, allocations: 3.938 kB / 442.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.006571, allocations: 8 kB / 442.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.006591, allocations: 75.28 kB / 442.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006592, allocations: 0 / 442.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.006753, allocations: 12.09 kB / 442.8 MB, free: 0.7695 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.0003432/0.007097, allocations: 0.7132 MB / 443.5 MB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.137/0.1441, allocations: 42.2 kB / 443.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1441, allocations: 0 / 443.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.1442, allocations: 25.48 kB / 443.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.1443, allocations: 3.625 kB / 443.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1447, allocations: 168.1 kB / 443.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.1447, allocations: 62.44 kB / 443.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.202e-05/0.1447, allocations: 7.469 kB / 443.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1448, allocations: 15.77 kB / 443.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1448, allocations: 3.969 kB / 443.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1573, allocations: 2.156 MB / 446 MB, free: 44.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.847, allocations: 10.36 kB / 446 MB, free: 44.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 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.mat","/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: 8.657830415293574]