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.001263/0.001263, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3609, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008263/0.3692, allocations: 5.308 MB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3727, allocations: 2.641 MB / 0.5384 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.3728, allocations: 1.125 kB / 0.5384 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3732, allocations: 42.56 kB / 0.5384 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.3764, allocations: 1.068 MB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.3768, allocations: 144.2 kB / 0.5396 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.3774, allocations: 310.7 kB / 0.5399 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.3775, allocations: 16.77 kB / 0.5399 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.3788, allocations: 0.644 MB / 0.5406 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.3792, allocations: 156.5 kB / 0.5407 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.3792, allocations: 7.156 kB / 0.5407 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.3819, allocations: 1.219 MB / 0.5419 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.382, allocations: 29.16 kB / 0.5419 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3822, allocations: 84.94 kB / 0.542 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3833, allocations: 0.5315 MB / 0.5425 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3833, allocations: 0 / 0.5425 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3833, allocations: 1.375 kB / 0.5425 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3833, allocations: 0 / 0.5425 GB, free: 4.637 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.001192/0.3845, allocations: 0.574 MB / 0.5431 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3846, allocations: 13.5 kB / 0.5431 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.3847, allocations: 57.48 kB / 0.5432 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.3851, allocations: 46.16 kB / 0.5432 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.3855, allocations: 210.6 kB / 0.5434 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3855, allocations: 18.47 kB / 0.5434 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3856, allocations: 22.27 kB / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.386, allocations: 239.5 kB / 0.5437 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.386, allocations: 1.281 kB / 0.5437 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3861, allocations: 10.16 kB / 0.5437 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3861, allocations: 5.062 kB / 0.5437 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.3865, allocations: 231.4 kB / 0.5439 GB, free: 3.477 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.001505/0.388, allocations: 1.371 MB / 0.5453 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3882, allocations: 93.36 kB / 0.5454 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.3883, allocations: 40.61 kB / 0.5454 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001837/0.3902, allocations: 2.042 MB / 0.5474 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.3905, allocations: 171 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.3905, allocations: 1.25 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001249/0.3918, allocations: 367.9 kB / 0.5479 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.392, allocations: 269.9 kB / 0.5482 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3921, allocations: 150.5 kB / 0.5483 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3922, allocations: 31.11 kB / 0.5483 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3923, allocations: 144.1 kB / 0.5485 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.3924, allocations: 77.22 kB / 0.5485 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.3925, allocations: 70.31 kB / 0.5486 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3926, allocations: 326.8 kB / 0.5489 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.3927, allocations: 39.98 kB / 0.549 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.3929, allocations: 195.3 kB / 0.5491 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3932, allocations: 258.6 kB / 0.5494 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3933, allocations: 0 / 0.5494 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004264/0.3937, allocations: 261.3 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3937, allocations: 11.94 kB / 0.5497 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3937, allocations: 7.984 kB / 0.5497 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3938, allocations: 8 kB / 0.5497 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3942, allocations: 95.88 kB / 0.5498 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003834/0.3946, allocations: 0.6019 MB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3948, allocations: 12 kB / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.3948, allocations: 20 kB / 0.5504 GB, free: 12.49 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.0001317/0.395, allocations: 141.7 kB / 0.5505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.395, allocations: 19.89 kB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.3955, allocations: 224 kB / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3955, allocations: 4 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3955, allocations: 3.938 kB / 0.5508 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3955, allocations: 3.984 kB / 0.5508 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.396, allocations: 448.8 kB / 0.5512 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.396, allocations: 0 / 0.5512 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.3964, allocations: 55.95 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3964, allocations: 8.031 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3964, allocations: 4 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003339/0.3967, allocations: 0.5821 MB / 0.5518 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3968, allocations: 0 / 0.5518 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.397, allocations: 154.7 kB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.3971, allocations: 93.05 kB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.3971, allocations: 7.953 kB / 0.5521 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3973, allocations: 11.98 kB / 0.5521 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.3973, allocations: 12.02 kB / 0.5521 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3973, allocations: 11.94 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3974, allocations: 123.2 kB / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3974, allocations: 0 / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.398, allocations: 151.6 kB / 0.5524 GB, free: 10.28 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.001009/0.399, allocations: 0.8326 MB / 0.5532 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3995, allocations: 159.7 kB / 0.5533 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3995, allocations: 0 / 0.5533 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3997, allocations: 49.22 kB / 0.5534 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.4001, allocations: 66.69 kB / 0.5534 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.4033, allocations: 2.531 MB / 0.5559 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4036, allocations: 0.7168 MB / 0.5566 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.4039, allocations: 69.72 kB / 0.5567 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.404, allocations: 59.39 kB / 0.5567 GB, free: 5.539 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.404, allocations: 0 / 0.5567 GB, free: 5.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4351, allocations: 6.595 MB / 0.5632 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.31, allocations: 8.328 kB / 0.5632 GB, free: 15.12 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