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.002011/0.002011, allocations: 117 kB / 18.49 MB, free: 4.59 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.002304/0.002304, allocations: 212.7 kB / 21.45 MB, free: 1.637 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.412/1.412, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.2176/0.2176, allocations: 46.93 MB / 357.7 MB, free: 10.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 76.2 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1256, allocations: 66.05 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007054/0.1327, allocations: 5.045 MB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.138, allocations: 4.582 MB / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1381, allocations: 0 / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.1384, allocations: 51.61 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.1402, allocations: 0.672 MB / 0.5663 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1406, allocations: 160.4 kB / 0.5665 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.1412, allocations: 370.1 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1412, allocations: 9.672 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1415, allocations: 155.4 kB / 0.567 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1417, allocations: 135.5 kB / 0.5671 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1417, allocations: 8 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.1426, allocations: 363.5 kB / 0.5674 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.1427, allocations: 47.75 kB / 0.5675 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1428, allocations: 103.6 kB / 0.5676 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.1435, allocations: 446.5 kB / 0.568 GB, free: 9.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1435, allocations: 0 / 0.568 GB, free: 9.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1435, allocations: 0 / 0.568 GB, free: 9.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1435, allocations: 4 kB / 0.568 GB, free: 9.348 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.001078/0.1446, allocations: 0.5961 MB / 0.5686 GB, free: 8.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001031/0.1447, allocations: 8.031 kB / 0.5686 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.736e-05/0.1447, allocations: 8.75 kB / 0.5686 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.1448, allocations: 62.72 kB / 0.5687 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.145, allocations: 28.84 kB / 0.5687 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.1453, allocations: 228 kB / 0.5689 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.1455, allocations: 123.9 kB / 0.569 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1455, allocations: 23.94 kB / 0.5691 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.1461, allocations: 327.6 kB / 0.5694 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1461, allocations: 0 / 0.5694 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1461, allocations: 12 kB / 0.5694 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.1461, allocations: 4 kB / 0.5694 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.147, allocations: 0.743 MB / 0.5701 GB, free: 7.051 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.001436/0.1484, allocations: 1.253 MB / 0.5713 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.1488, allocations: 134.8 kB / 0.5715 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1489, allocations: 64.83 kB / 0.5715 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00291/0.1518, allocations: 2.674 MB / 0.5741 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1519, allocations: 34.56 kB / 0.5742 GB, free: 2.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.1519, allocations: 0 / 0.5742 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007673/0.1526, allocations: 231.9 kB / 0.5744 GB, free: 2.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1527, allocations: 51.41 kB / 0.5744 GB, free: 1.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.153, allocations: 214.8 kB / 0.5747 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.153, allocations: 29.7 kB / 0.5747 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1532, allocations: 215.6 kB / 0.5749 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1532, allocations: 55.53 kB / 0.5749 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1534, allocations: 90.02 kB / 0.575 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1536, allocations: 330.8 kB / 0.5753 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.1537, allocations: 48.84 kB / 0.5754 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.154, allocations: 320.1 kB / 0.5757 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.1545, allocations: 411.5 kB / 0.5761 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1545, allocations: 3.938 kB / 0.5761 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006251/0.1551, allocations: 373.8 kB / 0.5764 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1552, allocations: 8 kB / 0.5765 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1552, allocations: 8 kB / 0.5765 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.1552, allocations: 15.94 kB / 0.5765 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.1556, allocations: 111.8 kB / 0.5766 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.1556, allocations: 15.94 kB / 0.5766 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1558, allocations: 19.98 kB / 0.5766 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1559, allocations: 28 kB / 0.5766 GB, free: 15.41 MB / 446.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.000203/0.1561, allocations: 153.7 kB / 0.5768 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.1561, allocations: 19.91 kB / 0.5768 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.1566, allocations: 158.9 kB / 0.577 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1566, allocations: 0 / 0.577 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1566, allocations: 0 / 0.577 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1566, allocations: 7.984 kB / 0.577 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.1572, allocations: 433.2 kB / 0.5774 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1572, allocations: 0 / 0.5774 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1574, allocations: 31.97 kB / 0.5774 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1574, allocations: 0 / 0.5774 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1574, allocations: 4 kB / 0.5774 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.1574, allocations: 7.969 kB / 0.5774 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1574, allocations: 0 / 0.5774 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1577, allocations: 220.2 kB / 0.5776 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1578, allocations: 105 kB / 0.5777 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1578, allocations: 4 kB / 0.5777 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.158, allocations: 11.94 kB / 0.5777 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.158, allocations: 11.98 kB / 0.5778 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.158, allocations: 7.984 kB / 0.5778 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1582, allocations: 152.5 kB / 0.5779 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1582, allocations: 0 / 0.5779 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.1587, allocations: 95.86 kB / 0.578 GB, free: 13.9 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.0007941/0.1595, allocations: 0.8292 MB / 0.5788 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1598, allocations: 169.7 kB / 0.579 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1598, allocations: 256 / 0.579 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.1599, allocations: 43.92 kB / 0.579 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.1603, allocations: 51.45 kB / 0.5791 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.1636, allocations: 2.704 MB / 0.5817 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.164, allocations: 0.7324 MB / 0.5824 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1642, allocations: 54.84 kB / 0.5825 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1644, allocations: 67.41 kB / 0.5825 GB, free: 8.875 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1644, allocations: 0 / 0.5825 GB, free: 8.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1885, allocations: 5.701 MB / 0.5881 GB, free: 3.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.328, allocations: 10.55 kB / 0.5881 GB, free: 3.324 MB / 446.1 MB " [Timeout remaining time 652] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.630924592958763]