Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007251/0.000725, allocations: 98.06 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008479/0.0008477, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8.688 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01208/0.1604, allocations: 10.19 MB / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1744, allocations: 10.78 MB / 492.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.1749, allocations: 4 kB / 492.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.1753, allocations: 51.69 kB / 492.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.1869, allocations: 2.441 MB / 495.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.1875, allocations: 142.2 kB / 495.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01203/0.1996, allocations: 7.408 MB / 0.4909 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1997, allocations: 20.33 kB / 0.4909 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.2001, allocations: 143.5 kB / 0.491 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01947/0.2196, allocations: 14.16 MB / 0.5049 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2198, allocations: 12 kB / 0.5049 GB, free: 196 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2972/0.517, allocations: 1.932 MB / 0.5068 GB, free: 34.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.5172, allocations: 44.11 kB / 0.5068 GB, free: 34.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.5173, allocations: 69.02 kB / 0.5069 GB, free: 34.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.5203, allocations: 1.027 MB / 0.5079 GB, free: 34.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5203, allocations: 1.625 kB / 0.5079 GB, free: 34.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5203, allocations: 0 / 0.5079 GB, free: 34.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.5203, allocations: 0 / 0.5079 GB, free: 34.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002417/0.5228, allocations: 0.8694 MB / 0.5087 GB, free: 33.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.5228, allocations: 11.09 kB / 0.5087 GB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.523, allocations: 62.73 kB / 0.5088 GB, free: 33.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.5236, allocations: 82.34 kB / 0.5089 GB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.5241, allocations: 244.1 kB / 0.5091 GB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.5241, allocations: 22.98 kB / 0.5091 GB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.5242, allocations: 25.34 kB / 0.5092 GB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5256, allocations: 480.8 kB / 0.5096 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5257, allocations: 3.578 kB / 0.5096 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.5257, allocations: 16.59 kB / 0.5096 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.5258, allocations: 8.297 kB / 0.5096 GB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.5274, allocations: 0.677 MB / 0.5103 GB, free: 33.11 MB / 382.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.006712/0.5341, allocations: 3.077 MB / 0.5133 GB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.5348, allocations: 221.1 kB / 0.5135 GB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.5349, allocations: 76.56 kB / 0.5136 GB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06983/0.6048, allocations: 30.61 MB / 0.5435 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008586/0.6057, allocations: 341.9 kB / 0.5438 GB, free: 9.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.737e-06/0.6057, allocations: 0 / 0.5438 GB, free: 9.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003362/0.6091, allocations: 0.9683 MB / 0.5448 GB, free: 9.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.6093, allocations: 485.9 kB / 0.5452 GB, free: 8.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.6095, allocations: 150.9 kB / 0.5454 GB, free: 8.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.6095, allocations: 35.83 kB / 0.5454 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.6096, allocations: 162 kB / 0.5456 GB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.6097, allocations: 132.6 kB / 0.5457 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.6097, allocations: 10.44 kB / 0.5457 GB, free: 8.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.6098, allocations: 327.8 kB / 0.546 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.61, allocations: 71.52 kB / 0.5461 GB, free: 7.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.6102, allocations: 324.8 kB / 0.5464 GB, free: 7.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.6104, allocations: 121.7 kB / 0.5465 GB, free: 7.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6104, allocations: 0 / 0.5465 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007171/0.6112, allocations: 443.2 kB / 0.5469 GB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.6112, allocations: 14.34 kB / 0.5469 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.6112, allocations: 8 kB / 0.5469 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.613, allocations: 309.3 kB / 0.5472 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.6133, allocations: 100.5 kB / 0.5473 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004723/0.6138, allocations: 1.211 MB / 0.5485 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.6141, allocations: 29.53 kB / 0.5485 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.6141, allocations: 38.06 kB / 0.5486 GB, free: 5.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.6143, allocations: 155.2 kB / 0.5487 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.6144, allocations: 27.72 kB / 0.5488 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.6157, allocations: 1.068 MB / 0.5498 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.6157, allocations: 15.02 kB / 0.5498 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6157, allocations: 4 kB / 0.5498 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6157, allocations: 1.422 kB / 0.5498 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.6173, allocations: 1.552 MB / 0.5513 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6173, allocations: 4.094 kB / 0.5513 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.6175, allocations: 47.33 kB / 0.5514 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.6186, allocations: 253.4 kB / 0.5516 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.6186, allocations: 7.875 kB / 0.5516 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004589/0.6191, allocations: 1.254 MB / 0.5529 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6191, allocations: 12.23 kB / 0.5529 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.6197, allocations: 0.6062 MB / 0.5535 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.6199, allocations: 211.8 kB / 0.5537 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.62, allocations: 7.25 kB / 0.5537 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.6202, allocations: 30.56 kB / 0.5537 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.6203, allocations: 23.17 kB / 0.5537 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.6203, allocations: 17.84 kB / 0.5537 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.6206, allocations: 267.6 kB / 0.554 GB, free: 424 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6206, allocations: 0 / 0.554 GB, free: 424 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00208/0.6227, allocations: 445.2 kB / 0.5544 GB, free: 12 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003915/0.6266, allocations: 1.691 MB / 0.5561 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.6274, allocations: 361.2 kB / 0.5564 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.6274, allocations: 192 / 0.5564 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.6277, allocations: 232.8 kB / 0.5566 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.6286, allocations: 97.83 kB / 0.5567 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.179/1.808, allocations: 0.4913 GB / 1.048 GB, free: 43.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/1.808, allocations: 0.8273 MB / 1.049 GB, free: 42.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004509/1.808, allocations: 165.9 kB / 1.049 GB, free: 42.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/1.809, allocations: 155.4 kB / 1.049 GB, free: 42.12 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/1.809, allocations: 0 / 1.049 GB, free: 42.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/1.843, allocations: 18.92 MB / 1.068 GB, free: 23.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/1.844, allocations: 249.2 kB / 1.068 GB, free: 23.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/4.521, allocations: 0 / 1.068 GB, free: 23.24 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat