Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.18 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 63.56 MB / 483.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006696/0.1284, allocations: 5.023 MB / 488.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1317, allocations: 2.632 MB / 490.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1319, allocations: 0 / 490.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1322, allocations: 31.83 kB / 490.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.135, allocations: 0.9611 MB / 491.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1354, allocations: 135.4 kB / 492 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.1359, allocations: 334.7 kB / 492.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.136, allocations: 13.55 kB / 492.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1372, allocations: 0.7484 MB / 493 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.1376, allocations: 155.5 kB / 493.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1376, allocations: 4 kB / 493.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.1398, allocations: 1.266 MB / 494.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1398, allocations: 35.83 kB / 494.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.14, allocations: 101.4 kB / 494.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1412, allocations: 0.534 MB / 495.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1412, allocations: 4 kB / 495.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1412, allocations: 0 / 495.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1412, allocations: 0 / 495.1 MB, free: 8.09 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.001043/0.1423, allocations: 0.5302 MB / 495.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1423, allocations: 8.875 kB / 495.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.1424, allocations: 54.73 kB / 495.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.1428, allocations: 44.72 kB / 495.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1431, allocations: 216.1 kB / 496 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1431, allocations: 16.12 kB / 496 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1431, allocations: 16 kB / 496 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1435, allocations: 240.5 kB / 496.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1436, allocations: 8 kB / 496.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.1436, allocations: 4 kB / 496.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1436, allocations: 4 kB / 496.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.144, allocations: 236.5 kB / 496.5 MB, free: 6.602 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.001434/0.1454, allocations: 1.361 MB / 497.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1456, allocations: 86.59 kB / 497.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1457, allocations: 48.78 kB / 498 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.1474, allocations: 2.055 MB / 0.4883 GB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1477, allocations: 170.9 kB / 0.4885 GB, free: 2.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.1477, allocations: 0 / 0.4885 GB, free: 2.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009784/0.1487, allocations: 363.8 kB / 0.4888 GB, free: 1.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1489, allocations: 261 kB / 0.4891 GB, free: 1.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.149, allocations: 153.7 kB / 0.4892 GB, free: 1.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1491, allocations: 33.64 kB / 0.4893 GB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1492, allocations: 143.8 kB / 0.4894 GB, free: 1.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.1492, allocations: 67.33 kB / 0.4895 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1493, allocations: 33.7 kB / 0.4895 GB, free: 1.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1494, allocations: 326.8 kB / 0.4898 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.1495, allocations: 35.98 kB / 0.4898 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1497, allocations: 190.7 kB / 0.49 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.15, allocations: 257.8 kB / 0.4903 GB, free: 220 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.15, allocations: 4 kB / 0.4903 GB, free: 216 kB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000421/0.1504, allocations: 261.2 kB / 0.4905 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1505, allocations: 8 kB / 0.4905 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1505, allocations: 4 kB / 0.4905 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1505, allocations: 8.656 kB / 0.4905 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.151, allocations: 95.88 kB / 0.4906 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004029/0.1514, allocations: 0.6019 MB / 0.4912 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1515, allocations: 15.94 kB / 0.4912 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.1516, allocations: 16 kB / 0.4913 GB, free: 15.18 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.00014/0.1517, allocations: 133.8 kB / 0.4914 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1518, allocations: 23.75 kB / 0.4914 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.1523, allocations: 235.8 kB / 0.4916 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1523, allocations: 4 kB / 0.4916 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.1523, allocations: 7.922 kB / 0.4916 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1523, allocations: 3.984 kB / 0.4916 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1528, allocations: 436.8 kB / 0.4921 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1528, allocations: 0 / 0.4921 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.1531, allocations: 60.05 kB / 0.4921 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1531, allocations: 3.938 kB / 0.4921 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1532, allocations: 8 kB / 0.4921 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003026/0.1535, allocations: 0.586 MB / 0.4927 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1535, allocations: 3.938 kB / 0.4927 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1537, allocations: 146.7 kB / 0.4928 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.1538, allocations: 112.9 kB / 0.493 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1538, allocations: 0 / 0.493 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.154, allocations: 8 kB / 0.493 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.154, allocations: 11.92 kB / 0.493 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.154, allocations: 8 kB / 0.493 GB, free: 13.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1541, allocations: 131.8 kB / 0.4931 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1542, allocations: 0 / 0.4931 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1547, allocations: 143.9 kB / 0.4932 GB, free: 12.96 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.001014/0.1557, allocations: 0.845 MB / 0.4941 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.1562, allocations: 156.2 kB / 0.4942 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1562, allocations: 0 / 0.4942 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1564, allocations: 51.91 kB / 0.4943 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1568, allocations: 56.83 kB / 0.4943 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.1599, allocations: 2.594 MB / 0.4969 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1602, allocations: 0.7167 MB / 0.4976 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.1605, allocations: 77.7 kB / 0.4976 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1607, allocations: 55.42 kB / 0.4977 GB, free: 8.141 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1607, allocations: 0 / 0.4977 GB, free: 8.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.1798, allocations: 6.302 MB / 0.5038 GB, free: 2.066 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.1801, allocations: 293.5 kB / 0.5041 GB, free: 1.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.218, allocations: 0 / 0.5041 GB, free: 1.684 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches