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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] 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.2252/0.2252, allocations: 44.91 MB / 349.6 MB, free: 1.703 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002531/0.002531, allocations: 68.09 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1232, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001771/0.125, allocations: 0.4889 MB / 0.5435 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003591/0.1254, allocations: 107.7 kB / 0.5436 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1254, allocations: 0 / 0.5436 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1254, allocations: 3.938 kB / 0.5436 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1256, allocations: 11.92 kB / 0.5436 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.256e-05/0.1257, allocations: 8 kB / 0.5436 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.1257, allocations: 4 kB / 0.5436 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.349e-05/0.1257, allocations: 4 kB / 0.5436 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1258, allocations: 7.969 kB / 0.5436 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.1258, allocations: 3.938 kB / 0.5436 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1258, allocations: 4 kB / 0.5436 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.1259, allocations: 15.98 kB / 0.5436 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.1259, allocations: 0 / 0.5436 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.1259, allocations: 8 kB / 0.5436 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.21e-05/0.126, allocations: 24.11 kB / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.126, allocations: 0 / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.126, allocations: 0 / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.126, allocations: 4 kB / 0.5437 GB, free: 3.406 MB / 398.1 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.0003601/0.1264, allocations: 323.9 kB / 0.544 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1264, allocations: 11.97 kB / 0.544 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.1265, allocations: 34.69 kB / 0.544 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1265, allocations: 4.938 kB / 0.544 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1267, allocations: 160.4 kB / 0.5442 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1267, allocations: 384 / 0.5442 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1267, allocations: 8.359 kB / 0.5442 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1268, allocations: 34.25 kB / 0.5442 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1268, allocations: 11.89 kB / 0.5442 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1268, allocations: 4 kB / 0.5442 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1268, allocations: 0 / 0.5442 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.1268, allocations: 4 kB / 0.5442 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.127, allocations: 153.7 kB / 0.5444 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1272, allocations: 38.55 kB / 0.5444 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.1273, allocations: 12.86 kB / 0.5444 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/0.1276, allocations: 117.1 kB / 0.5445 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1277, allocations: 34.56 kB / 0.5446 GB, free: 2.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1277, allocations: 0 / 0.5446 GB, free: 2.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001286/0.129, allocations: 185.4 kB / 0.5448 GB, free: 2.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.129, allocations: 55.41 kB / 0.5448 GB, free: 2.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.1291, allocations: 93.8 kB / 0.5449 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1291, allocations: 25.7 kB / 0.5449 GB, free: 1.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.1291, allocations: 80.14 kB / 0.545 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.1292, allocations: 27.91 kB / 0.545 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1292, allocations: 17.72 kB / 0.545 GB, free: 1.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1294, allocations: 318.8 kB / 0.5453 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.1294, allocations: 19.97 kB / 0.5454 GB, free: 1.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.1295, allocations: 23.92 kB / 0.5454 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1297, allocations: 40.83 kB / 0.5454 GB, free: 1.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1297, allocations: 0 / 0.5454 GB, free: 1.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002092/0.1299, allocations: 85.61 kB / 0.5455 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1299, allocations: 7.984 kB / 0.5455 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1299, allocations: 0 / 0.5455 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1299, allocations: 0 / 0.5455 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.13, allocations: 15.98 kB / 0.5455 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.13, allocations: 0 / 0.5455 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.1301, allocations: 4 kB / 0.5455 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1301, allocations: 0 / 0.5455 GB, free: 1.238 MB / 398.1 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 8.438e-05/0.1302, allocations: 121.8 kB / 0.5456 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.1302, allocations: 7.938 kB / 0.5457 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1305, allocations: 81.22 kB / 0.5457 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1305, allocations: 4 kB / 0.5457 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1305, allocations: 4.297 kB / 0.5457 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1305, allocations: 7.938 kB / 0.5457 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.1313, allocations: 351.2 kB / 0.5461 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1313, allocations: 8 kB / 0.5461 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/0.1314, allocations: 11.98 kB / 0.5461 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1314, allocations: 0 / 0.5461 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1314, allocations: 4 kB / 0.5461 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1314, allocations: 8.016 kB / 0.5461 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1314, allocations: 4.266 kB / 0.5461 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1316, allocations: 176.3 kB / 0.5463 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1317, allocations: 89.08 kB / 0.5464 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1317, allocations: 0 / 0.5464 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1318, allocations: 12 kB / 0.5464 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1318, allocations: 11.92 kB / 0.5464 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1318, allocations: 0 / 0.5464 GB, free: 248 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.1319, allocations: 75.28 kB / 0.5465 GB, free: 172 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1319, allocations: 0 / 0.5465 GB, free: 172 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1321, allocations: 8 kB / 0.5465 GB, free: 164 kB / 398.1 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.0006374/0.1328, allocations: 0.721 MB / 0.5472 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.133, allocations: 51.89 kB / 0.5472 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.133, allocations: 0 / 0.5472 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.133, allocations: 20.05 kB / 0.5472 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1333, allocations: 13.86 kB / 0.5473 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.1338, allocations: 163.4 kB / 0.5474 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1342, allocations: 0.6805 MB / 0.5481 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1342, allocations: 8.25 kB / 0.5481 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.1343, allocations: 11.44 kB / 0.5481 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1343, allocations: 0 / 0.5481 GB, free: 14.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1567, allocations: 1.48 MB / 0.5495 GB, free: 13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.752, allocations: 14.27 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.673380149062723]