Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001644/0.001649, 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.117/2.117, 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.001179/0.001178, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.2893/0.2893, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/5.246e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.304/2.446, allocations: 0.6457 GB / 1.119 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/2.446, allocations: 85.05 kB / 1.119 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3321/2.778, allocations: 111.3 MB / 1.227 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.854e-06/2.778, allocations: 0 / 1.227 GB, free: 85.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.529e-05/2.778, allocations: 4 kB / 1.227 GB, free: 85.77 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.003827/2.782, allocations: 1.056 MB / 1.228 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/2.782, allocations: 8.031 kB / 1.228 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/2.782, allocations: 62.53 kB / 1.228 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007654/2.783, allocations: 79.61 kB / 1.229 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/2.783, allocations: 242.8 kB / 1.229 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/2.783, allocations: 20.56 kB / 1.229 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/2.784, allocations: 31.94 kB / 1.229 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/2.785, allocations: 489.5 kB / 1.229 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/2.785, allocations: 0 / 1.229 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/2.785, allocations: 20 kB / 1.229 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/2.785, allocations: 8 kB / 1.229 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/2.786, allocations: 0.6891 MB / 1.23 GB, free: 82.95 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.01409/2.8, allocations: 4.19 MB / 1.234 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/2.801, allocations: 227.4 kB / 1.234 GB, free: 78.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/2.801, allocations: 73.34 kB / 1.234 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1391/2.941, allocations: 40.35 MB / 1.274 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007506/2.941, allocations: 327 kB / 1.274 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.988e-06/2.941, allocations: 0 / 1.274 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.003007/2.944, allocations: 0.7608 MB / 1.275 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/2.945, allocations: 423.2 kB / 1.275 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/2.945, allocations: 159.4 kB / 1.275 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/2.945, allocations: 37.64 kB / 1.275 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/2.945, allocations: 234.2 kB / 1.276 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/2.945, allocations: 125.4 kB / 1.276 GB, free: 32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/2.945, allocations: 8 kB / 1.276 GB, free: 32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/2.945, allocations: 330.8 kB / 1.276 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/2.945, allocations: 65.11 kB / 1.276 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/2.946, allocations: 302.2 kB / 1.276 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/2.946, allocations: 115.8 kB / 1.277 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/2.946, allocations: 4 kB / 1.277 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009086/2.947, allocations: 385.1 kB / 1.277 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/2.947, allocations: 12 kB / 1.277 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/2.947, allocations: 8 kB / 1.277 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/2.947, allocations: 15.95 kB / 1.277 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/2.95, allocations: 264.3 kB / 1.277 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004926/2.951, allocations: 1.18 MB / 1.278 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/2.951, allocations: 20.19 kB / 1.278 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/2.951, allocations: 39.88 kB / 1.278 GB, free: 29.11 MB / 0.5105 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.0001438/2.951, allocations: 140.7 kB / 1.279 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/2.951, allocations: 27.72 kB / 1.279 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/2.953, allocations: 0.9721 MB / 1.28 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/2.953, allocations: 11.98 kB / 1.28 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/2.953, allocations: 8.156 kB / 1.28 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/2.953, allocations: 0 / 1.28 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04222/2.995, allocations: 12.44 MB / 1.292 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/2.995, allocations: 11.98 kB / 1.292 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/2.997, allocations: 131.9 kB / 1.292 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/2.997, allocations: 7.953 kB / 1.292 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/2.997, allocations: 8 kB / 1.292 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002497/2.997, allocations: 0.5938 MB / 1.292 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.997, allocations: 0 / 1.292 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/2.998, allocations: 0.6277 MB / 1.293 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/2.998, allocations: 184.2 kB / 1.293 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/2.998, allocations: 8 kB / 1.293 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/2.999, allocations: 19.94 kB / 1.293 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/2.999, allocations: 23.97 kB / 1.293 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/2.999, allocations: 8 kB / 1.293 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002766/2.999, allocations: 214.2 kB / 1.293 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/2.999, allocations: 0 / 1.293 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002228/3.001, allocations: 479.4 kB / 1.294 GB, free: 11.9 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 (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.004186/3.006, allocations: 2.446 MB / 1.296 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001981/3.008, allocations: 396.1 kB / 1.297 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/3.008, allocations: 0 / 1.297 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/3.009, allocations: 241.6 kB / 1.297 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/3.01, allocations: 81.12 kB / 1.297 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.877/5.887, allocations: 0.6794 GB / 1.976 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/5.888, allocations: 0.8202 MB / 1.977 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/5.888, allocations: 147.4 kB / 1.977 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/5.888, allocations: 0 / 1.977 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/8.787, allocations: 14.45 MB / 1.991 GB, free: 74.59 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat