Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001282/0.001282, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008654/0.0008654, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8926/0.8926, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2237/0.2237, allocations: 34.23 MB / 294.8 MB, free: 0.707 MB / 266.7 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.441e-05, allocations: 8.328 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1609/0.1609, allocations: 4.295 MB / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.163, allocations: 3.604 MB / 450.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.1631, allocations: 0 / 450.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1633, allocations: 45.12 kB / 450.1 MB, free: 39.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.1645, allocations: 0.7651 MB / 450.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1647, allocations: 133.4 kB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.165, allocations: 387.3 kB / 451.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.165, allocations: 7.469 kB / 451.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.1652, allocations: 197.5 kB / 451.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1653, allocations: 125.8 kB / 451.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1654, allocations: 12.52 kB / 451.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1658, allocations: 393.2 kB / 452.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.1659, allocations: 45.36 kB / 452.2 MB, free: 38.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.1659, allocations: 87.83 kB / 452.3 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1664, allocations: 485.2 kB / 452.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1664, allocations: 3.938 kB / 452.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1664, allocations: 0 / 452.7 MB, free: 38.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1664, allocations: 2.844 kB / 452.7 MB, free: 38.71 MB / 410.7 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.0007303/0.1671, allocations: 0.5273 MB / 453.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1671, allocations: 8.062 kB / 453.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1672, allocations: 57.25 kB / 453.3 MB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.1673, allocations: 31.5 kB / 453.4 MB, free: 38.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1675, allocations: 173 kB / 453.5 MB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.1676, allocations: 225.1 kB / 453.7 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1676, allocations: 23 kB / 453.8 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.168, allocations: 488.8 kB / 454.2 MB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.168, allocations: 7.938 kB / 454.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.168, allocations: 10.88 kB / 454.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.168, allocations: 8.688 kB / 454.3 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.1684, allocations: 0.7175 MB / 455 MB, free: 37.33 MB / 410.7 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.0007514/0.1692, allocations: 1.071 MB / 456.1 MB, free: 36.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.1694, allocations: 150.5 kB / 456.2 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.1695, allocations: 81.69 kB / 456.3 MB, free: 36.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007938/0.1703, allocations: 0.733 MB / 457 MB, free: 35.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.1703, allocations: 33.28 kB / 457.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.1703, allocations: 0 / 457.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002047/0.1705, allocations: 123.6 kB / 457.2 MB, free: 35.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.1705, allocations: 54.5 kB / 457.2 MB, free: 35.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1706, allocations: 237.3 kB / 457.5 MB, free: 35.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.1707, allocations: 28.58 kB / 457.5 MB, free: 35.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.1707, allocations: 219.7 kB / 457.7 MB, free: 35.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1707, allocations: 44.53 kB / 457.7 MB, free: 35.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.1708, allocations: 84.83 kB / 457.8 MB, free: 35.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.283e-05/0.1708, allocations: 329.1 kB / 458.1 MB, free: 34.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.1709, allocations: 55.11 kB / 458.2 MB, free: 34.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.171, allocations: 345.5 kB / 458.5 MB, free: 34.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1712, allocations: 437.5 kB / 459 MB, free: 34.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1712, allocations: 6.938 kB / 459 MB, free: 34.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002949/0.1715, allocations: 383.2 kB / 459.3 MB, free: 33.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1715, allocations: 14.56 kB / 459.4 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1715, allocations: 14.78 kB / 459.4 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1715, allocations: 13.72 kB / 459.4 MB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1716, allocations: 98.52 kB / 459.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1716, allocations: 22.45 kB / 459.5 MB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.1718, allocations: 55.84 kB / 459.6 MB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1718, allocations: 28.94 kB / 459.6 MB, free: 33.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 6.038e-05/0.1718, allocations: 150.3 kB / 459.7 MB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1719, allocations: 28.39 kB / 459.8 MB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.172, allocations: 140 kB / 459.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.172, allocations: 6.391 kB / 459.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.172, allocations: 0 / 459.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1721, allocations: 3.938 kB / 459.9 MB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1723, allocations: 376.3 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1723, allocations: 3.156 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.1723, allocations: 10.97 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1723, allocations: 7.172 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1723, allocations: 3.125 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1723, allocations: 3.25 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1723, allocations: 6.719 kB / 460.3 MB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.321e-05/0.1724, allocations: 206.8 kB / 460.5 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.1724, allocations: 25.31 kB / 460.5 MB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1725, allocations: 11.08 kB / 460.5 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1725, allocations: 7.281 kB / 460.6 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.1725, allocations: 6.375 kB / 460.6 MB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1725, allocations: 6.25 kB / 460.6 MB, free: 33.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.1726, allocations: 154.8 kB / 460.7 MB, free: 32.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1726, allocations: 3.094 kB / 460.7 MB, free: 32.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.1729, allocations: 91.62 kB / 460.8 MB, free: 32.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003294/0.1732, allocations: 0.8034 MB / 461.6 MB, free: 32.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1734, allocations: 167.3 kB / 461.8 MB, free: 32.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1734, allocations: 448 / 461.8 MB, free: 32.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.1734, allocations: 27.08 kB / 461.8 MB, free: 32.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1737, allocations: 48.67 kB / 461.9 MB, free: 32.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1752, allocations: 2.743 MB / 464.6 MB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.552e-05/0.1753, allocations: 113.8 kB / 464.7 MB, free: 29.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1754, allocations: 50.39 kB / 464.8 MB, free: 29.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1755, allocations: 66.5 kB / 464.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1755, allocations: 0 / 464.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1918, allocations: 6.016 MB / 470.8 MB, free: 28.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.964, allocations: 3.984 kB / 470.8 MB, free: 28.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.920046572573483]