Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 89.31 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.447/0.447, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.803e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.27/2.418, allocations: 0.6457 GB / 1.119 GB, free: 150 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/2.419, allocations: 79.61 kB / 1.119 GB, free: 150 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2114/2.63, allocations: 111.3 MB / 1.227 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.436e-06/2.63, allocations: 0 / 1.227 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.27e-05/2.63, allocations: 8 kB / 1.227 GB, free: 73.8 MB / 0.5105 GB 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.004188/2.635, allocations: 1.048 MB / 1.228 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/2.635, allocations: 8.031 kB / 1.228 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/2.635, allocations: 61.81 kB / 1.228 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/2.636, allocations: 79.66 kB / 1.229 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/2.636, allocations: 246.7 kB / 1.229 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/2.636, allocations: 16.56 kB / 1.229 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/2.636, allocations: 28 kB / 1.229 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/2.637, allocations: 491 kB / 1.229 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/2.637, allocations: 4 kB / 1.229 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/2.637, allocations: 16 kB / 1.229 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/2.637, allocations: 4 kB / 1.229 GB, free: 71.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/2.638, allocations: 0.6891 MB / 1.23 GB, free: 71 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.009453/2.648, allocations: 4.161 MB / 1.234 GB, free: 66.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/2.649, allocations: 232.7 kB / 1.234 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/2.649, allocations: 77.34 kB / 1.234 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08723/2.736, allocations: 43.18 MB / 1.277 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/2.737, allocations: 244.1 kB / 1.277 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 5.521e-06/2.737, allocations: 4 kB / 1.277 GB, free: 19.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.002848/2.74, allocations: 0.7296 MB / 1.277 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.74, allocations: 269.2 kB / 1.278 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/2.74, allocations: 181.6 kB / 1.278 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/2.74, allocations: 33.7 kB / 1.278 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/2.74, allocations: 206.9 kB / 1.278 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/2.741, allocations: 82.89 kB / 1.278 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/2.741, allocations: 12 kB / 1.278 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/2.741, allocations: 326.8 kB / 1.279 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/2.741, allocations: 65.11 kB / 1.279 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/2.741, allocations: 339.3 kB / 1.279 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/2.741, allocations: 107.8 kB / 1.279 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/2.741, allocations: 8 kB / 1.279 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007506/2.742, allocations: 431.2 kB / 1.279 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/2.742, allocations: 8.938 kB / 1.279 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/2.742, allocations: 16 kB / 1.279 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/2.744, allocations: 309.3 kB / 1.28 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/2.744, allocations: 103.8 kB / 1.28 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/2.745, allocations: 1.227 MB / 1.281 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/2.745, allocations: 23.94 kB / 1.281 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/2.746, allocations: 28 kB / 1.281 GB, free: 14.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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.0001509/2.746, allocations: 148.9 kB / 1.281 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/2.746, allocations: 23.72 kB / 1.281 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/2.747, allocations: 0.8009 MB / 1.282 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/2.747, allocations: 8 kB / 1.282 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/2.747, allocations: 4.062 kB / 1.282 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/2.747, allocations: 7.984 kB / 1.282 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/2.748, allocations: 0.5015 MB / 1.283 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/2.748, allocations: 0 / 1.283 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/2.748, allocations: 32.22 kB / 1.283 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/2.749, allocations: 249.4 kB / 1.283 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/2.749, allocations: 8 kB / 1.283 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/2.749, allocations: 1.262 MB / 1.284 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.749, allocations: 4 kB / 1.284 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/2.75, allocations: 0.5398 MB / 1.285 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/2.75, allocations: 212.1 kB / 1.285 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/2.75, allocations: 11.98 kB / 1.285 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/2.751, allocations: 15.91 kB / 1.285 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/2.751, allocations: 20.06 kB / 1.285 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/2.751, allocations: 15.94 kB / 1.285 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003385/2.751, allocations: 289.6 kB / 1.285 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.984e-06/2.751, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002523/2.754, allocations: 415.5 kB / 1.286 GB, free: 9.496 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004633/2.758, allocations: 2.241 MB / 1.288 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006964/2.759, allocations: 314.1 kB / 1.288 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/2.759, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/2.759, allocations: 186.7 kB / 1.288 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/2.76, allocations: 82.48 kB / 1.288 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.172/6.931, allocations: 1.255 GB / 2.543 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/6.932, allocations: 0.8267 MB / 2.544 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003921/6.932, allocations: 124.5 kB / 2.544 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/6.932, allocations: 150.2 kB / 2.544 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/6.932, allocations: 0 / 2.544 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/6.972, allocations: 17.63 MB / 2.562 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/6.972, allocations: 206.1 kB / 2.562 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/9.953, allocations: 0 / 2.562 GB, free: 48.98 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat