Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007346/0.0007345, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009652/0.0009653, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 11.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002786, allocations: 8.328 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006999/0.1403, allocations: 5.019 MB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.1437, allocations: 2.628 MB / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1439, allocations: 0 / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1442, allocations: 35.81 kB / 490.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.147, allocations: 0.9924 MB / 491.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1473, allocations: 139.2 kB / 492 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.1479, allocations: 330.7 kB / 492.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.1479, allocations: 17.55 kB / 492.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.1493, allocations: 0.8419 MB / 493.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1496, allocations: 171.5 kB / 493.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1496, allocations: 4 kB / 493.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.1519, allocations: 1.403 MB / 494.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.152, allocations: 31.89 kB / 494.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1521, allocations: 109.2 kB / 494.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1533, allocations: 0.5302 MB / 495.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1533, allocations: 4 kB / 495.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1533, allocations: 3.938 kB / 495.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1534, allocations: 0 / 495.4 MB, free: 7.777 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001342/0.1547, allocations: 0.5264 MB / 496 MB, free: 7.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.1548, allocations: 8.875 kB / 496 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.876e-05/0.1549, allocations: 54.67 kB / 496 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.1554, allocations: 48.72 kB / 496.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1557, allocations: 212.1 kB / 496.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1558, allocations: 20.12 kB / 496.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1558, allocations: 12 kB / 496.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.1563, allocations: 240.5 kB / 496.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1563, allocations: 4 kB / 496.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1563, allocations: 12 kB / 496.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1564, allocations: 4 kB / 496.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.1567, allocations: 232.5 kB / 496.8 MB, free: 6.293 MB / 366.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.00162/0.1584, allocations: 1.361 MB / 498.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1586, allocations: 94.55 kB / 498.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.1587, allocations: 36.84 kB / 498.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.1605, allocations: 2.055 MB / 0.4886 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.1608, allocations: 173.3 kB / 0.4888 GB, free: 1.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.1608, allocations: 0 / 0.4888 GB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009239/0.1617, allocations: 359.8 kB / 0.4891 GB, free: 1.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1618, allocations: 265 kB / 0.4894 GB, free: 1.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.162, allocations: 153.7 kB / 0.4895 GB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.162, allocations: 33.7 kB / 0.4895 GB, free: 1.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.1621, allocations: 139.7 kB / 0.4897 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.1622, allocations: 71.34 kB / 0.4897 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1622, allocations: 33.7 kB / 0.4898 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1624, allocations: 318.8 kB / 0.4901 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.1624, allocations: 43.98 kB / 0.4901 GB, free: 492 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.1626, allocations: 186.7 kB / 0.4903 GB, free: 236 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1629, allocations: 254.6 kB / 0.4905 GB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1629, allocations: 0 / 0.4905 GB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004178/0.1634, allocations: 265.2 kB / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1634, allocations: 8 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1634, allocations: 4 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1634, allocations: 8.656 kB / 0.4908 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.1639, allocations: 103.9 kB / 0.4909 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00036/0.1643, allocations: 0.6019 MB / 0.4915 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1644, allocations: 11.94 kB / 0.4915 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.1645, allocations: 20 kB / 0.4915 GB, free: 14.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.1646, allocations: 141.7 kB / 0.4917 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1647, allocations: 19.8 kB / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.1652, allocations: 227.9 kB / 0.4919 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1652, allocations: 0 / 0.4919 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.1652, allocations: 11.92 kB / 0.4919 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1652, allocations: 0 / 0.4919 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1657, allocations: 444.8 kB / 0.4923 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1657, allocations: 0 / 0.4923 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.166, allocations: 52.05 kB / 0.4924 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.1661, allocations: 7.938 kB / 0.4924 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1661, allocations: 0 / 0.4924 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003552/0.1664, allocations: 0.5899 MB / 0.493 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1665, allocations: 4.031 kB / 0.493 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1667, allocations: 150.5 kB / 0.4931 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1669, allocations: 112.9 kB / 0.4932 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.1669, allocations: 4 kB / 0.4932 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1671, allocations: 4 kB / 0.4932 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1671, allocations: 15.92 kB / 0.4933 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1671, allocations: 8 kB / 0.4933 GB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1673, allocations: 131.8 kB / 0.4934 GB, free: 12.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1673, allocations: 4 kB / 0.4934 GB, free: 12.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.1679, allocations: 135.9 kB / 0.4935 GB, free: 12.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.1691, allocations: 0.8508 MB / 0.4943 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.1696, allocations: 159.8 kB / 0.4945 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1696, allocations: 3.938 kB / 0.4945 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1698, allocations: 47.91 kB / 0.4945 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1703, allocations: 53.27 kB / 0.4946 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.174, allocations: 2.587 MB / 0.4971 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1744, allocations: 0.7168 MB / 0.4978 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.1748, allocations: 77.83 kB / 0.4979 GB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1749, allocations: 51.42 kB / 0.498 GB, free: 7.836 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1749, allocations: 0 / 0.498 GB, free: 7.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.1988, allocations: 6.332 MB / 0.5041 GB, free: 1.742 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.1992, allocations: 294.7 kB / 0.5044 GB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.305, allocations: 0 / 0.5044 GB, free: 1.363 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches