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.001596/0.001596, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 80.09 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3403, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006799/0.3472, allocations: 5.3 MB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.35, allocations: 2.649 MB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.3501, allocations: 1.281 kB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.3503, allocations: 35.33 kB / 0.5383 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.3529, allocations: 1.067 MB / 0.5394 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.3532, allocations: 156.3 kB / 0.5395 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.3536, allocations: 306.3 kB / 0.5398 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.3536, allocations: 12.86 kB / 0.5398 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3547, allocations: 0.6515 MB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.3549, allocations: 152.9 kB / 0.5406 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3549, allocations: 5.5 kB / 0.5406 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.3568, allocations: 1.205 MB / 0.5418 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.3569, allocations: 36.17 kB / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.664e-05/0.357, allocations: 81.25 kB / 0.5419 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.3578, allocations: 0.5295 MB / 0.5424 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3578, allocations: 1.219 kB / 0.5424 GB, free: 4.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3578, allocations: 0 / 0.5424 GB, free: 4.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3579, allocations: 4 kB / 0.5424 GB, free: 4.691 MB / 398.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.0009308/0.3588, allocations: 0.5646 MB / 0.543 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3588, allocations: 9.344 kB / 0.543 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.3589, allocations: 52.77 kB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.3594, allocations: 45.86 kB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.3596, allocations: 209.9 kB / 0.5433 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3597, allocations: 23.69 kB / 0.5433 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3597, allocations: 13.88 kB / 0.5433 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.3601, allocations: 243.6 kB / 0.5436 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3601, allocations: 5.438 kB / 0.5436 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3602, allocations: 6.438 kB / 0.5436 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3602, allocations: 7.719 kB / 0.5436 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.3605, allocations: 240.6 kB / 0.5438 GB, free: 3.539 MB / 398.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.001165/0.3617, allocations: 1.367 MB / 0.5451 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3619, allocations: 88.55 kB / 0.5452 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.362, allocations: 47.81 kB / 0.5453 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.3633, allocations: 2.047 MB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3635, allocations: 166.4 kB / 0.5474 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.3636, allocations: 0 / 0.5474 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008904/0.3645, allocations: 352.3 kB / 0.5478 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3646, allocations: 268.5 kB / 0.548 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3647, allocations: 158.6 kB / 0.5482 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3647, allocations: 33.7 kB / 0.5482 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.3648, allocations: 143.8 kB / 0.5483 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.3649, allocations: 67.03 kB / 0.5484 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.3649, allocations: 69.59 kB / 0.5485 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.365, allocations: 322.8 kB / 0.5488 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3651, allocations: 47.91 kB / 0.5488 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3653, allocations: 199.3 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3656, allocations: 250.6 kB / 0.5493 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3656, allocations: 4 kB / 0.5493 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003705/0.3659, allocations: 261.2 kB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.366, allocations: 8.062 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.366, allocations: 8 kB / 0.5495 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.366, allocations: 11.98 kB / 0.5495 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.3664, allocations: 100.5 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002948/0.3667, allocations: 0.5898 MB / 0.5502 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3669, allocations: 12 kB / 0.5502 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3669, allocations: 23.98 kB / 0.5502 GB, free: 12.55 MB / 414.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.0001093/0.3671, allocations: 137.8 kB / 0.5504 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.3671, allocations: 19.81 kB / 0.5504 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.3675, allocations: 227.8 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3675, allocations: 8 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3675, allocations: 3.938 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3675, allocations: 4.062 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3679, allocations: 448.8 kB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3679, allocations: 0 / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3683, allocations: 47.91 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3683, allocations: 7.938 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3683, allocations: 3.984 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002601/0.3686, allocations: 0.5861 MB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3686, allocations: 4.031 kB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3688, allocations: 146.5 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.3689, allocations: 96.98 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.3689, allocations: 8 kB / 0.5519 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.369, allocations: 4.094 kB / 0.5519 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.3691, allocations: 15.98 kB / 0.5519 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3691, allocations: 7.984 kB / 0.5519 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.3692, allocations: 123.2 kB / 0.5521 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3692, allocations: 0 / 0.5521 GB, free: 10.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.3696, allocations: 135.9 kB / 0.5522 GB, free: 10.37 MB / 414.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.0009901/0.3706, allocations: 0.8302 MB / 0.553 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.3711, allocations: 175.9 kB / 0.5532 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3711, allocations: 0 / 0.5532 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3713, allocations: 47.91 kB / 0.5532 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3717, allocations: 44.64 kB / 0.5533 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.3746, allocations: 2.53 MB / 0.5557 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3749, allocations: 0.7128 MB / 0.5564 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.3751, allocations: 77.77 kB / 0.5565 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.3752, allocations: 55.41 kB / 0.5566 GB, free: 5.629 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3752, allocations: 0 / 0.5566 GB, free: 5.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.4022, allocations: 6.641 MB / 0.563 GB, free: 15.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.46, allocations: 11.7 kB / 0.5631 GB, free: 15.17 MB / 430.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