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.001102/0.001102, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, 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.2154/0.2154, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 71.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3714, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006657/0.3781, allocations: 5.302 MB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.3812, allocations: 2.645 MB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3814, allocations: 1.594 kB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.3817, allocations: 43.31 kB / 0.5383 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.3848, allocations: 1.063 MB / 0.5394 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3852, allocations: 155 kB / 0.5395 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.3857, allocations: 310.6 kB / 0.5398 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.3858, allocations: 12.45 kB / 0.5398 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.387, allocations: 0.6512 MB / 0.5405 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.3873, allocations: 152.9 kB / 0.5406 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.3874, allocations: 6.031 kB / 0.5406 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.3896, allocations: 1.213 MB / 0.5418 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.3897, allocations: 31.83 kB / 0.5418 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3899, allocations: 81.06 kB / 0.5419 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3915, allocations: 0.5334 MB / 0.5424 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3915, allocations: 1.062 kB / 0.5424 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3915, allocations: 0 / 0.5424 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3915, allocations: 0 / 0.5424 GB, free: 4.672 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.001534/0.3931, allocations: 0.5682 MB / 0.543 GB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/0.3931, allocations: 9.5 kB / 0.543 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.3932, allocations: 52.55 kB / 0.5431 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.3938, allocations: 43.56 kB / 0.5431 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.3943, allocations: 213 kB / 0.5433 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3943, allocations: 19.38 kB / 0.5433 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3943, allocations: 14.31 kB / 0.5433 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.3949, allocations: 242.8 kB / 0.5436 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3949, allocations: 4.969 kB / 0.5436 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.3949, allocations: 6.375 kB / 0.5436 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3949, allocations: 5.719 kB / 0.5436 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3953, allocations: 231.8 kB / 0.5438 GB, free: 3.531 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.001369/0.3967, allocations: 1.366 MB / 0.5451 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3969, allocations: 97.34 kB / 0.5452 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.397, allocations: 45.78 kB / 0.5453 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001849/0.3989, allocations: 2.043 MB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.3992, allocations: 170.7 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.3992, allocations: 0 / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009813/0.4002, allocations: 355.3 kB / 0.5478 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.4003, allocations: 261.9 kB / 0.548 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4005, allocations: 159.6 kB / 0.5482 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4005, allocations: 34.83 kB / 0.5482 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.4006, allocations: 147.6 kB / 0.5483 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.4007, allocations: 67.69 kB / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4008, allocations: 70.75 kB / 0.5485 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4009, allocations: 323.2 kB / 0.5488 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.401, allocations: 47.91 kB / 0.5488 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.4012, allocations: 191.4 kB / 0.549 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.4015, allocations: 266.5 kB / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4015, allocations: 0 / 0.5493 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004366/0.402, allocations: 264.9 kB / 0.5495 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.402, allocations: 10.19 kB / 0.5495 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.402, allocations: 4 kB / 0.5495 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.402, allocations: 8 kB / 0.5495 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4025, allocations: 96.53 kB / 0.5496 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003373/0.4029, allocations: 0.5938 MB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.403, allocations: 12 kB / 0.5502 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.4031, allocations: 23.98 kB / 0.5502 GB, free: 12.59 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.0001304/0.4032, allocations: 133.7 kB / 0.5504 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.4033, allocations: 19.81 kB / 0.5504 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.4038, allocations: 224 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4038, allocations: 4 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4038, allocations: 3.938 kB / 0.5506 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4038, allocations: 0 / 0.5506 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4043, allocations: 452.7 kB / 0.551 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4043, allocations: 0 / 0.551 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.4047, allocations: 56.05 kB / 0.5511 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.4047, allocations: 7.922 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4047, allocations: 8 kB / 0.5511 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002725/0.405, allocations: 0.5822 MB / 0.5517 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.405, allocations: 3.938 kB / 0.5517 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.4052, allocations: 154.6 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.4053, allocations: 92.98 kB / 0.5519 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4054, allocations: 8 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.4055, allocations: 4 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.4055, allocations: 7.984 kB / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4056, allocations: 11.98 kB / 0.5519 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.4057, allocations: 127.2 kB / 0.5521 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4057, allocations: 0 / 0.5521 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.4062, allocations: 143.8 kB / 0.5522 GB, free: 10.39 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.001013/0.4072, allocations: 0.8284 MB / 0.553 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.4078, allocations: 164.9 kB / 0.5532 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4078, allocations: 3.938 kB / 0.5532 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.408, allocations: 48.09 kB / 0.5532 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.4084, allocations: 60.06 kB / 0.5533 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.4116, allocations: 2.523 MB / 0.5557 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4119, allocations: 0.7128 MB / 0.5564 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.4121, allocations: 69.77 kB / 0.5565 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4122, allocations: 51.42 kB / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4122, allocations: 0 / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.4411, allocations: 6.652 MB / 0.5631 GB, free: 15.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.75, allocations: 4.203 kB / 0.5631 GB, free: 15.2 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