Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001519/0.001519, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001216/0.001216, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2924/0.2924, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.263e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.263/2.39, allocations: 0.6457 GB / 1.119 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/2.391, allocations: 81.97 kB / 1.119 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3467/2.738, allocations: 111.3 MB / 1.227 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/2.738, allocations: 0 / 1.227 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.729e-05/2.738, allocations: 8 kB / 1.227 GB, free: 85.71 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.004036/2.742, allocations: 1.045 MB / 1.228 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.011e-05/2.742, allocations: 8.031 kB / 1.228 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/2.742, allocations: 70.53 kB / 1.228 GB, free: 84.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/2.743, allocations: 79.61 kB / 1.229 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/2.743, allocations: 246.7 kB / 1.229 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/2.743, allocations: 24.56 kB / 1.229 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/2.743, allocations: 24 kB / 1.229 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/2.745, allocations: 489.5 kB / 1.229 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/2.745, allocations: 0 / 1.229 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/2.745, allocations: 16 kB / 1.229 GB, free: 83.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/2.745, allocations: 8 kB / 1.229 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/2.746, allocations: 0.6891 MB / 1.23 GB, free: 82.91 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.01512/2.762, allocations: 5.373 MB / 1.235 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/2.762, allocations: 188.5 kB / 1.235 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/2.762, allocations: 60.78 kB / 1.235 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08066/2.843, allocations: 25.83 MB / 1.261 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/2.844, allocations: 305.7 kB / 1.261 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 3.547e-06/2.844, allocations: 0 / 1.261 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.001565/2.846, allocations: 376.8 kB / 1.261 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/2.846, allocations: 423.2 kB / 1.262 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/2.846, allocations: 161.7 kB / 1.262 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/2.846, allocations: 34.08 kB / 1.262 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/2.846, allocations: 265.7 kB / 1.262 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/2.846, allocations: 97.8 kB / 1.262 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/2.846, allocations: 12 kB / 1.262 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/2.846, allocations: 330.8 kB / 1.263 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/2.847, allocations: 56.88 kB / 1.263 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/2.847, allocations: 307.2 kB / 1.263 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/2.847, allocations: 107.8 kB / 1.263 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/2.847, allocations: 4 kB / 1.263 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009646/2.848, allocations: 389.1 kB / 1.263 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/2.848, allocations: 11.98 kB / 1.263 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/2.848, allocations: 8 kB / 1.263 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/2.848, allocations: 15.95 kB / 1.263 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/2.849, allocations: 103.8 kB / 1.264 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/2.849, allocations: 19.92 kB / 1.264 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/2.849, allocations: 48.03 kB / 1.264 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/2.849, allocations: 28 kB / 1.264 GB, free: 44.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.85, allocations: 140.8 kB / 1.264 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/2.85, allocations: 23.81 kB / 1.264 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/2.851, allocations: 0.8174 MB / 1.265 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/2.851, allocations: 7.984 kB / 1.265 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/2.851, allocations: 11.89 kB / 1.265 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/2.851, allocations: 0 / 1.265 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04646/2.898, allocations: 12.24 MB / 1.277 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.898, allocations: 12.03 kB / 1.277 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/2.898, allocations: 23.98 kB / 1.277 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/2.898, allocations: 8.047 kB / 1.277 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/2.898, allocations: 11.94 kB / 1.277 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/2.898, allocations: 7.938 kB / 1.277 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.898, allocations: 0 / 1.277 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/2.899, allocations: 0.4975 MB / 1.277 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/2.899, allocations: 188.3 kB / 1.277 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/2.899, allocations: 8 kB / 1.277 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/2.9, allocations: 11.98 kB / 1.277 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/2.9, allocations: 19.94 kB / 1.277 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/2.9, allocations: 12 kB / 1.277 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003154/2.9, allocations: 222.2 kB / 1.278 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/2.9, allocations: 0 / 1.278 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002223/2.902, allocations: 435.3 kB / 1.278 GB, free: 28.7 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004372/2.907, allocations: 2.224 MB / 1.28 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007001/2.907, allocations: 245.6 kB / 1.28 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.908, allocations: 0 / 1.28 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/2.908, allocations: 112 kB / 1.281 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/2.909, allocations: 69.69 kB / 1.281 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.996/5.905, allocations: 0.7342 GB / 2.015 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/5.905, allocations: 0.804 MB / 2.016 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/5.905, allocations: 135.4 kB / 2.016 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.724e-06/5.905, allocations: 0 / 2.016 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/8.671, allocations: 12.23 MB / 2.028 GB, free: 38.26 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat