Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001398/0.001398, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 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.00158/0.00158, allocations: 218.5 kB / 23.01 MB, free: 5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 71.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1205, allocations: 61.03 MB / 0.5162 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007015/0.1275, allocations: 5.033 MB / 0.5211 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.1328, allocations: 4.586 MB / 0.5256 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.133, allocations: 7.938 kB / 0.5256 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1333, allocations: 47.67 kB / 0.5256 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.135, allocations: 0.672 MB / 0.5263 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1354, allocations: 155.7 kB / 0.5264 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.136, allocations: 378.1 kB / 0.5268 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.1361, allocations: 9.812 kB / 0.5268 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1364, allocations: 151.4 kB / 0.5269 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.1367, allocations: 143.4 kB / 0.5271 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.1367, allocations: 8 kB / 0.5271 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.1376, allocations: 343.6 kB / 0.5274 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.1377, allocations: 47.81 kB / 0.5275 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1378, allocations: 103.5 kB / 0.5276 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008992/0.1387, allocations: 426.8 kB / 0.528 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1388, allocations: 0 / 0.528 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1388, allocations: 0 / 0.528 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1388, allocations: 0 / 0.528 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001074/0.1398, allocations: 0.5169 MB / 0.5285 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1399, allocations: 8.031 kB / 0.5285 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.1399, allocations: 58.73 kB / 0.5285 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.1401, allocations: 28.8 kB / 0.5286 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1405, allocations: 166.3 kB / 0.5287 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.1406, allocations: 226.6 kB / 0.5289 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.1407, allocations: 32.11 kB / 0.529 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.1412, allocations: 330.8 kB / 0.5293 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1412, allocations: 7.938 kB / 0.5293 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1412, allocations: 8 kB / 0.5293 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1413, allocations: 8 kB / 0.5293 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.1421, allocations: 0.7586 MB / 0.53 GB, free: 8.891 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1436, allocations: 1.233 MB / 0.5313 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.1439, allocations: 134.8 kB / 0.5314 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1441, allocations: 84.3 kB / 0.5315 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.1454, allocations: 0.6478 MB / 0.5321 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1455, allocations: 34.5 kB / 0.5321 GB, free: 6.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1455, allocations: 4 kB / 0.5321 GB, free: 6.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006268/0.1461, allocations: 229.5 kB / 0.5323 GB, free: 6.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1461, allocations: 51.41 kB / 0.5324 GB, free: 6.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1463, allocations: 218.8 kB / 0.5326 GB, free: 6.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.1464, allocations: 29.7 kB / 0.5326 GB, free: 6.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1465, allocations: 219.5 kB / 0.5328 GB, free: 5.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1466, allocations: 47.64 kB / 0.5329 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.1466, allocations: 90.03 kB / 0.533 GB, free: 5.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1468, allocations: 330.8 kB / 0.5333 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.1469, allocations: 48.83 kB / 0.5333 GB, free: 5.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1472, allocations: 322.1 kB / 0.5336 GB, free: 4.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.1477, allocations: 417.2 kB / 0.534 GB, free: 4.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1477, allocations: 4 kB / 0.534 GB, free: 4.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006038/0.1483, allocations: 377 kB / 0.5344 GB, free: 3.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1483, allocations: 11.94 kB / 0.5344 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1483, allocations: 12.84 kB / 0.5344 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.1483, allocations: 15.94 kB / 0.5344 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.1487, allocations: 111.8 kB / 0.5346 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.1487, allocations: 19.92 kB / 0.5346 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.1489, allocations: 24.06 kB / 0.5346 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.149, allocations: 28 kB / 0.5346 GB, free: 3.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.000136/0.1491, allocations: 149.5 kB / 0.5348 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.1492, allocations: 23.86 kB / 0.5348 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.1495, allocations: 154.9 kB / 0.5349 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1495, allocations: 7.875 kB / 0.5349 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1495, allocations: 0 / 0.5349 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1495, allocations: 8.016 kB / 0.5349 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.1501, allocations: 406.4 kB / 0.5353 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1501, allocations: 3.938 kB / 0.5353 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.1502, allocations: 35.91 kB / 0.5354 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1502, allocations: 0 / 0.5354 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1503, allocations: 4 kB / 0.5354 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1503, allocations: 0 / 0.5354 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1503, allocations: 0 / 0.5354 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1505, allocations: 216.3 kB / 0.5356 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1506, allocations: 27.83 kB / 0.5356 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1506, allocations: 15.88 kB / 0.5356 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1508, allocations: 8 kB / 0.5356 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1508, allocations: 7.984 kB / 0.5356 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1509, allocations: 7.984 kB / 0.5356 GB, free: 2.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.151, allocations: 148.5 kB / 0.5358 GB, free: 2.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.151, allocations: 3.938 kB / 0.5358 GB, free: 2.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1515, allocations: 99.92 kB / 0.5359 GB, free: 2.344 MB / 414.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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0007738/0.1523, allocations: 0.8076 MB / 0.5367 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1526, allocations: 178 kB / 0.5368 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1526, allocations: 0 / 0.5368 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.1527, allocations: 44.05 kB / 0.5369 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1531, allocations: 52.45 kB / 0.5369 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/0.3473, allocations: 2.713 MB / 0.5396 GB, free: 27.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3475, allocations: 0.7253 MB / 0.5403 GB, free: 26.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.3477, allocations: 60.64 kB / 0.5404 GB, free: 26.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3478, allocations: 66.91 kB / 0.5404 GB, free: 26.44 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3478, allocations: 0 / 0.5404 GB, free: 26.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.3803, allocations: 5.938 MB / 0.5462 GB, free: 25.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 12.94 kB / 0.5462 GB, free: 25.67 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.392220946028829]