Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.00133/0.00133, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.001363/0.001363, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.388/1.388, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 51.91 kB / 366.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1006, allocations: 52.14 MB / 418.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005977/0.1066, allocations: 4.507 MB / 423 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1087, allocations: 1.814 MB / 424.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.1088, allocations: 0 / 424.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1091, allocations: 51.66 kB / 424.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1094, allocations: 115.3 kB / 424.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.11, allocations: 261.5 kB / 425.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.1104, allocations: 286.9 kB / 425.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1105, allocations: 9.109 kB / 425.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.1107, allocations: 135.5 kB / 425.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1109, allocations: 87.66 kB / 425.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1109, allocations: 8 kB / 425.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1111, allocations: 91.88 kB / 425.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1112, allocations: 39.89 kB / 425.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1113, allocations: 71.7 kB / 425.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1116, allocations: 219.2 kB / 426.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1116, allocations: 4 kB / 426.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1116, allocations: 0 / 426.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1116, allocations: 3.938 kB / 426.1 MB, free: 4.945 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000954/0.1126, allocations: 491 kB / 426.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1126, allocations: 12.03 kB / 426.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.324e-05/0.1126, allocations: 8.469 kB / 426.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1127, allocations: 42.75 kB / 426.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1128, allocations: 24.83 kB / 426.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1131, allocations: 208.2 kB / 426.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1131, allocations: 8.656 kB / 426.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.1132, allocations: 32.02 kB / 426.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.1136, allocations: 216.6 kB / 427.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1136, allocations: 3.938 kB / 427.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1137, allocations: 8 kB / 427.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1137, allocations: 4 kB / 427.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.1141, allocations: 159.8 kB / 427.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1154, allocations: 0.9402 MB / 428.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1158, allocations: 138.8 kB / 428.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.116, allocations: 48.83 kB / 428.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.1165, allocations: 0.5071 MB / 429 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1165, allocations: 38.56 kB / 429 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1165, allocations: 0 / 429 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002622/0.1192, allocations: 0.7672 MB / 429.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1192, allocations: 55.34 kB / 429.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1193, allocations: 151.7 kB / 430 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1194, allocations: 33.7 kB / 430 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.1195, allocations: 144.1 kB / 430.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.1195, allocations: 75.36 kB / 430.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.1196, allocations: 57.69 kB / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1197, allocations: 326.8 kB / 430.6 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.12, allocations: 83.94 kB / 430.7 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1204, allocations: 197.8 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.121, allocations: 306.8 kB / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.121, allocations: 4 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007214/0.1217, allocations: 316.1 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1217, allocations: 4.469 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1217, allocations: 8 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1217, allocations: 8 kB / 431.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1221, allocations: 79.89 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1221, allocations: 7.938 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.1223, allocations: 15.98 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.1224, allocations: 15.98 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 0.000134/0.1225, allocations: 145.7 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1226, allocations: 15.91 kB / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.1232, allocations: 244.8 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1232, allocations: 7.984 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1232, allocations: 0 / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1232, allocations: 0 / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1245, allocations: 0.5979 MB / 432.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1245, allocations: 4 kB / 432.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.1248, allocations: 51.89 kB / 432.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1248, allocations: 4 kB / 432.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1249, allocations: 11.92 kB / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1249, allocations: 4 kB / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1249, allocations: 0 / 432.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.1258, allocations: 411.2 kB / 433.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.1258, allocations: 96.97 kB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1259, allocations: 8 kB / 433.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1261, allocations: 11.98 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1261, allocations: 11.98 kB / 433.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.1261, allocations: 8 kB / 433.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.1262, allocations: 111.2 kB / 433.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1262, allocations: 4.062 kB / 433.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1266, allocations: 59.94 kB / 433.4 MB, free: 13.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.001326/0.1279, allocations: 0.9783 MB / 434.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.1285, allocations: 208.3 kB / 434.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.1285, allocations: 4.25 kB / 434.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.1288, allocations: 83.88 kB / 434.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1292, allocations: 35.91 kB / 434.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.1328, allocations: 2.366 MB / 437.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1331, allocations: 0.7206 MB / 437.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.1333, allocations: 37.95 kB / 437.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1335, allocations: 55.41 kB / 437.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1335, allocations: 0 / 437.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1566, allocations: 4.592 MB / 442.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.914, allocations: 11.91 kB / 442.5 MB, free: 3.832 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.451423685008194]