Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001544/0.001544, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 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.00161/0.00161, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 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 1.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] 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.2682/0.2682, allocations: 46.9 MB / 357.4 MB, free: 10.5 MB / 286.1 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.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 87.84 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1266, allocations: 65.98 MB / 0.5557 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.0068/0.1334, allocations: 5.061 MB / 0.5607 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.1387, allocations: 4.578 MB / 0.5651 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1388, allocations: 4 kB / 0.5651 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1391, allocations: 55.53 kB / 0.5652 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.1409, allocations: 0.6604 MB / 0.5658 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1413, allocations: 156.7 kB / 0.566 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.1418, allocations: 370.2 kB / 0.5663 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.1418, allocations: 25.59 kB / 0.5664 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.1421, allocations: 143.5 kB / 0.5665 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1423, allocations: 135.4 kB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1423, allocations: 8 kB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.143, allocations: 359.6 kB / 0.567 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.1431, allocations: 47.75 kB / 0.567 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1432, allocations: 107.5 kB / 0.5671 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.1439, allocations: 438.6 kB / 0.5675 GB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1439, allocations: 0 / 0.5675 GB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1439, allocations: 0 / 0.5675 GB, free: 10.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1439, allocations: 7.938 kB / 0.5676 GB, free: 10.04 MB / 430.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.001053/0.145, allocations: 0.5999 MB / 0.5681 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.145, allocations: 8.031 kB / 0.5681 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.699e-05/0.1451, allocations: 58.73 kB / 0.5682 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1453, allocations: 24.84 kB / 0.5682 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1456, allocations: 228.1 kB / 0.5684 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1457, allocations: 127.9 kB / 0.5686 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1458, allocations: 32.11 kB / 0.5686 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.1463, allocations: 315.7 kB / 0.5689 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1463, allocations: 4 kB / 0.5689 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.1463, allocations: 12 kB / 0.5689 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.1464, allocations: 15.97 kB / 0.5689 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.1472, allocations: 0.739 MB / 0.5696 GB, free: 7.734 MB / 430.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.001458/0.1487, allocations: 1.246 MB / 0.5709 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.149, allocations: 138.8 kB / 0.571 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1491, allocations: 76.81 kB / 0.5711 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/0.1517, allocations: 2.655 MB / 0.5737 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1517, allocations: 42.55 kB / 0.5737 GB, free: 2.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1517, allocations: 0 / 0.5737 GB, free: 2.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006969/0.1524, allocations: 223 kB / 0.5739 GB, free: 2.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1524, allocations: 51.41 kB / 0.574 GB, free: 2.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1526, allocations: 214.8 kB / 0.5742 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1527, allocations: 25.7 kB / 0.5742 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1528, allocations: 219.6 kB / 0.5744 GB, free: 2.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.1529, allocations: 63.52 kB / 0.5745 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.153, allocations: 86.02 kB / 0.5745 GB, free: 2.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1531, allocations: 326.8 kB / 0.5749 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/0.1532, allocations: 56.78 kB / 0.5749 GB, free: 1.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.1536, allocations: 316.1 kB / 0.5752 GB, free: 1.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.1542, allocations: 415.5 kB / 0.5756 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1542, allocations: 4 kB / 0.5756 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005887/0.1548, allocations: 373.2 kB / 0.576 GB, free: 316 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1548, allocations: 8 kB / 0.576 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.1548, allocations: 12 kB / 0.576 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.1549, allocations: 15.94 kB / 0.576 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1552, allocations: 108.6 kB / 0.5761 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.1552, allocations: 19.92 kB / 0.5761 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1554, allocations: 20 kB / 0.5761 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1555, allocations: 24 kB / 0.5762 GB, free: 108 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001588/0.1556, allocations: 149.7 kB / 0.5763 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1557, allocations: 19.89 kB / 0.5763 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.156, allocations: 162.4 kB / 0.5765 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.156, allocations: 7.938 kB / 0.5765 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.156, allocations: 0 / 0.5765 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.156, allocations: 0 / 0.5765 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.1566, allocations: 431.2 kB / 0.5769 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1566, allocations: 7.969 kB / 0.5769 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1567, allocations: 31.97 kB / 0.5769 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1567, allocations: 4 kB / 0.5769 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1568, allocations: 4 kB / 0.5769 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1568, allocations: 0 / 0.5769 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1568, allocations: 4 kB / 0.577 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.157, allocations: 224.2 kB / 0.5772 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1571, allocations: 104.9 kB / 0.5773 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1571, allocations: 4 kB / 0.5773 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1573, allocations: 7.984 kB / 0.5773 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1574, allocations: 4 kB / 0.5773 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1574, allocations: 15.98 kB / 0.5773 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1575, allocations: 148.5 kB / 0.5774 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1575, allocations: 0 / 0.5774 GB, free: 14.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.158, allocations: 99.88 kB / 0.5775 GB, free: 14.59 MB / 446.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.0007895/0.1588, allocations: 0.8261 MB / 0.5783 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1591, allocations: 176.1 kB / 0.5785 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1591, allocations: 0 / 0.5785 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.1592, allocations: 31.92 kB / 0.5785 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1596, allocations: 57.3 kB / 0.5786 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.1629, allocations: 2.708 MB / 0.5812 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.1634, allocations: 0.7245 MB / 0.5819 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000212/0.1637, allocations: 66.77 kB / 0.582 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1638, allocations: 67.41 kB / 0.5821 GB, free: 9.555 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1638, allocations: 0 / 0.5821 GB, free: 9.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.1925, allocations: 5.645 MB / 0.5876 GB, free: 4.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.44, allocations: 7.031 kB / 0.5876 GB, free: 4.035 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.786476228851825]