Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001789/0.001789, allocations: 183.7 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.735/1.735, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008234/0.0008235, allocations: 88.83 kB / 267 MB, free: 9.273 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.508/0.508, allocations: 43.48 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.918e-05/3.94e-05, allocations: 7.984 kB / 425.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 58.84 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.197/2.365, allocations: 0.6457 GB / 1.119 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/2.365, allocations: 86.42 kB / 1.119 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1887/2.554, allocations: 111.3 MB / 1.227 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/2.554, allocations: 4 kB / 1.227 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.269e-05/2.554, allocations: 4 kB / 1.227 GB, free: 7.641 MB / 0.4948 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.003157/2.557, allocations: 1.048 MB / 1.228 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/2.557, allocations: 12.03 kB / 1.228 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/2.557, allocations: 61.98 kB / 1.228 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/2.558, allocations: 75.66 kB / 1.229 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/2.558, allocations: 246.7 kB / 1.229 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/2.558, allocations: 24.56 kB / 1.229 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/2.558, allocations: 24 kB / 1.229 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/2.559, allocations: 493.5 kB / 1.229 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/2.559, allocations: 1.375 kB / 1.229 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/2.559, allocations: 12 kB / 1.229 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/2.559, allocations: 8 kB / 1.229 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/2.56, allocations: 0.6852 MB / 1.23 GB, free: 4.844 MB / 0.4948 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.007827/2.568, allocations: 4.198 MB / 1.234 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/2.568, allocations: 237 kB / 1.234 GB, free: 208 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/2.568, allocations: 77.34 kB / 1.234 GB, free: 128 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4903/3.059, allocations: 40.33 MB / 1.274 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007681/3.059, allocations: 336.1 kB / 1.274 GB, free: 93.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.935e-06/3.059, allocations: 0 / 1.274 GB, free: 93.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.002286/3.062, allocations: 0.7476 MB / 1.275 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/3.062, allocations: 435.9 kB / 1.275 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/3.062, allocations: 150.5 kB / 1.275 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/3.062, allocations: 32.3 kB / 1.275 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/3.062, allocations: 175 kB / 1.276 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/3.062, allocations: 119.8 kB / 1.276 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/3.062, allocations: 11.16 kB / 1.276 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/3.062, allocations: 332.5 kB / 1.276 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/3.063, allocations: 63.06 kB / 1.276 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/3.063, allocations: 296.4 kB / 1.276 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/3.063, allocations: 114.3 kB / 1.276 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/3.063, allocations: 2.625 kB / 1.276 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007047/3.064, allocations: 386.1 kB / 1.277 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/3.064, allocations: 10.78 kB / 1.277 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/3.064, allocations: 13.88 kB / 1.277 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/3.064, allocations: 11 kB / 1.277 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/3.066, allocations: 266 kB / 1.277 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006224/3.066, allocations: 1.185 MB / 1.278 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/3.066, allocations: 22.14 kB / 1.278 GB, free: 90.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/3.067, allocations: 29.77 kB / 1.278 GB, free: 90.86 MB / 0.4948 GB 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 () * 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.0001531/3.067, allocations: 145.3 kB / 1.278 GB, free: 90.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/3.067, allocations: 27.72 kB / 1.279 GB, free: 90.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/3.069, allocations: 0.9814 MB / 1.279 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/3.069, allocations: 10.17 kB / 1.279 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/3.069, allocations: 2.938 kB / 1.279 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/3.069, allocations: 4.203 kB / 1.279 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/3.099, allocations: 12.43 MB / 1.292 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/3.099, allocations: 11 kB / 1.292 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/3.1, allocations: 134.4 kB / 1.292 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/3.1, allocations: 3.438 kB / 1.292 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/3.1, allocations: 13.33 kB / 1.292 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000371/3.101, allocations: 0.587 MB / 1.292 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/3.101, allocations: 3.719 kB / 1.292 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/3.102, allocations: 0.6286 MB / 1.293 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/3.102, allocations: 190.1 kB / 1.293 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/3.102, allocations: 8.078 kB / 1.293 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/3.103, allocations: 13.52 kB / 1.293 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/3.103, allocations: 29.95 kB / 1.293 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/3.103, allocations: 13.67 kB / 1.293 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003721/3.103, allocations: 207 kB / 1.293 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.72e-07/3.103, allocations: 0 / 1.293 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002993/3.106, allocations: 476.7 kB / 1.294 GB, free: 83.29 MB / 0.4948 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005726/3.112, allocations: 2.451 MB / 1.296 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001965/3.114, allocations: 386.9 kB / 1.297 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/3.114, allocations: 3.5 kB / 1.297 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008499/3.115, allocations: 240.9 kB / 1.297 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/3.116, allocations: 94.69 kB / 1.297 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.04/5.156, allocations: 0.6794 GB / 1.976 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/5.157, allocations: 0.8202 MB / 1.977 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.3724/5.529, allocations: 147.7 kB / 1.977 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/5.529, allocations: 134.5 kB / 1.977 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/5.529, allocations: 0 / 1.977 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/5.577, allocations: 19.1 MB / 1.996 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/5.577, allocations: 209.6 kB / 1.996 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/8.457, allocations: 3 kB / 1.996 GB, free: 104.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat