Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.0009716/0.0009717, allocations: 97.47 kB / 17 MB, free: 6.418 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.001166/0.001166, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.396/1.396, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.22 MB / 337.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003306, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01047/0.1418, allocations: 10.19 MB / 481.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1527, allocations: 10.79 MB / 492.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.1529, allocations: 4 kB / 492.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1532, allocations: 47.7 kB / 492.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009093/0.1623, allocations: 2.445 MB / 495.1 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.1629, allocations: 142.3 kB / 495.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.1734, allocations: 7.412 MB / 0.4909 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.449e-05/0.1735, allocations: 12.41 kB / 0.4909 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1737, allocations: 143.5 kB / 0.491 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01861/0.1923, allocations: 14.16 MB / 0.5049 GB, free: 164 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.545e-05/0.1924, allocations: 8 kB / 0.5049 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3104/0.5029, allocations: 2.189 MB / 0.507 GB, free: 34.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.5031, allocations: 46.31 kB / 0.5071 GB, free: 34.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.5032, allocations: 71.14 kB / 0.5071 GB, free: 34.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.5068, allocations: 1.152 MB / 0.5083 GB, free: 33.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5068, allocations: 1.594 kB / 0.5083 GB, free: 33.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5068, allocations: 0 / 0.5083 GB, free: 33.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.5068, allocations: 0 / 0.5083 GB, free: 33.98 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.003031/0.5098, allocations: 0.9053 MB / 0.5091 GB, free: 33.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5099, allocations: 14.41 kB / 0.5092 GB, free: 33.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.51, allocations: 63.25 kB / 0.5092 GB, free: 33.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.5106, allocations: 81.16 kB / 0.5093 GB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.5109, allocations: 242.5 kB / 0.5095 GB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.511, allocations: 23.48 kB / 0.5095 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.511, allocations: 27.62 kB / 0.5096 GB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5121, allocations: 483.2 kB / 0.51 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5121, allocations: 0 / 0.51 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.5122, allocations: 14.56 kB / 0.51 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.5122, allocations: 6.625 kB / 0.51 GB, free: 33.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.5134, allocations: 0.6773 MB / 0.5107 GB, free: 33.03 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.006926/0.5204, allocations: 3.12 MB / 0.5138 GB, free: 31.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.5212, allocations: 217.8 kB / 0.514 GB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.5213, allocations: 74.62 kB / 0.514 GB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07397/0.5953, allocations: 33.48 MB / 0.5467 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007466/0.5962, allocations: 348.9 kB / 0.5471 GB, free: 6.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.5962, allocations: 0 / 0.5471 GB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002501/0.5987, allocations: 0.8571 MB / 0.5479 GB, free: 5.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5988, allocations: 484 kB / 0.5484 GB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.5989, allocations: 145.5 kB / 0.5485 GB, free: 4.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5989, allocations: 36.14 kB / 0.5485 GB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.599, allocations: 170.4 kB / 0.5487 GB, free: 4.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.5991, allocations: 127.1 kB / 0.5488 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.5991, allocations: 9.688 kB / 0.5488 GB, free: 4.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.5992, allocations: 334.6 kB / 0.5491 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5993, allocations: 64.83 kB / 0.5492 GB, free: 4.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.5995, allocations: 308.4 kB / 0.5495 GB, free: 3.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.5997, allocations: 115.9 kB / 0.5496 GB, free: 3.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5997, allocations: 4 kB / 0.5496 GB, free: 3.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005864/0.6003, allocations: 404.3 kB / 0.55 GB, free: 3.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6003, allocations: 8 kB / 0.55 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.6004, allocations: 12 kB / 0.55 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.6004, allocations: 15.19 kB / 0.55 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.6019, allocations: 254.2 kB / 0.5503 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005117/0.6025, allocations: 1.191 MB / 0.5514 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.6028, allocations: 22.94 kB / 0.5515 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.6029, allocations: 29.94 kB / 0.5515 GB, free: 1.945 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.6031, allocations: 155.4 kB / 0.5516 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6032, allocations: 35.67 kB / 0.5517 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.6046, allocations: 0.972 MB / 0.5526 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.6046, allocations: 7.75 kB / 0.5526 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6047, allocations: 4 kB / 0.5526 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6047, allocations: 4.203 kB / 0.5526 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.606, allocations: 1.426 MB / 0.554 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.606, allocations: 4 kB / 0.554 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.607, allocations: 149.8 kB / 0.5542 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.607, allocations: 4 kB / 0.5542 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.607, allocations: 7.562 kB / 0.5542 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002885/0.6073, allocations: 0.5889 MB / 0.5548 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6073, allocations: 3.375 kB / 0.5548 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.6079, allocations: 0.5172 MB / 0.5553 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.6081, allocations: 214.2 kB / 0.5555 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.6082, allocations: 7.875 kB / 0.5555 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.6084, allocations: 23.86 kB / 0.5555 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.6085, allocations: 19.03 kB / 0.5555 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.6085, allocations: 19.36 kB / 0.5555 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.6088, allocations: 269.1 kB / 0.5558 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6088, allocations: 3.938 kB / 0.5558 GB, free: 14.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002224/0.611, allocations: 468 kB / 0.5563 GB, free: 13.69 MB / 398.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002765/0.6138, allocations: 1.642 MB / 0.5579 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.6154, allocations: 387.9 kB / 0.5582 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6154, allocations: 1.062 kB / 0.5582 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.6162, allocations: 232.8 kB / 0.5584 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.6169, allocations: 94.75 kB / 0.5585 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.518/2.135, allocations: 0.5363 GB / 1.095 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/2.135, allocations: 0.8298 MB / 1.096 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005517/2.136, allocations: 166.4 kB / 1.096 GB, free: 180.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/2.136, allocations: 154.8 kB / 1.096 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/2.136, allocations: 0 / 1.096 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/2.178, allocations: 19.17 MB / 1.115 GB, free: 166 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/2.178, allocations: 237 kB / 1.115 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/4.889, allocations: 0 / 1.115 GB, free: 165.7 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat