Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00146/0.00146, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 91.97 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3086/0.3086, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.447e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4456, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.415, allocations: 0.6451 GB / 1.111 GB, free: 90.19 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/2.415, allocations: 85.56 kB / 1.111 GB, free: 90.14 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.6719/3.087, allocations: 108.6 MB / 1.217 GB, free: 142.6 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.864e-06/3.087, allocations: 0 / 1.217 GB, free: 142.6 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.653e-05/3.087, allocations: 3.969 kB / 1.217 GB, free: 142.6 MB / 0.4952 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.00438/3.091, allocations: 1.055 MB / 1.218 GB, free: 142 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/3.092, allocations: 9.375 kB / 1.218 GB, free: 142 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/3.092, allocations: 80.56 kB / 1.218 GB, free: 141.9 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/3.093, allocations: 247.2 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/3.093, allocations: 12.59 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/3.093, allocations: 15.09 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/3.094, allocations: 0.5801 MB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/3.095, allocations: 349.1 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/3.095, allocations: 3.562 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/3.095, allocations: 1.656 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.095, allocations: 7.562 kB / 1.22 GB, free: 141.6 MB / 0.4952 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.0906/3.186, allocations: 27.76 MB / 1.247 GB, free: 128 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/3.186, allocations: 71.5 kB / 1.247 GB, free: 128 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/3.186, allocations: 28.83 kB / 1.247 GB, free: 128 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/3.214, allocations: 6.453 MB / 1.253 GB, free: 125.2 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/3.215, allocations: 91.55 kB / 1.253 GB, free: 125.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 3.387e-06/3.215, allocations: 0 / 1.253 GB, free: 125.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=14): time 0.002542/3.217, allocations: 406.1 kB / 1.254 GB, free: 125.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/3.217, allocations: 59.06 kB / 1.254 GB, free: 125 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/3.218, allocations: 198.5 kB / 1.254 GB, free: 124.9 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/3.218, allocations: 36.77 kB / 1.254 GB, free: 124.9 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/3.218, allocations: 301.2 kB / 1.254 GB, free: 124.6 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/3.218, allocations: 52.84 kB / 1.254 GB, free: 124.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/3.218, allocations: 2.25 kB / 1.254 GB, free: 124.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/3.218, allocations: 329.2 kB / 1.254 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/3.218, allocations: 51.88 kB / 1.254 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/3.218, allocations: 325.1 kB / 1.255 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/3.22, allocations: 198.7 kB / 1.255 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/3.22, allocations: 7.625 kB / 1.255 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001963/3.222, allocations: 456.6 kB / 1.255 GB, free: 123.8 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/3.222, allocations: 9.406 kB / 1.255 GB, free: 123.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/3.222, allocations: 13.8 kB / 1.255 GB, free: 123.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/3.222, allocations: 45.2 kB / 1.256 GB, free: 123.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/3.223, allocations: 104.1 kB / 1.256 GB, free: 123.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/3.224, allocations: 1.26 MB / 1.257 GB, free: 122.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/3.224, allocations: 7.531 kB / 1.257 GB, free: 122.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/3.224, allocations: 34.41 kB / 1.257 GB, free: 122.6 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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.0002001/3.224, allocations: 129 kB / 1.257 GB, free: 122.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008334/3.225, allocations: 204.8 kB / 1.257 GB, free: 122.5 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/3.225, allocations: 18.62 kB / 1.257 GB, free: 122.5 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009833/3.226, allocations: 404.4 kB / 1.258 GB, free: 122.4 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/3.226, allocations: 3.562 kB / 1.258 GB, free: 122.4 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/3.226, allocations: 3.625 kB / 1.258 GB, free: 122.4 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/3.226, allocations: 0 / 1.258 GB, free: 122.4 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/3.227, allocations: 322.7 kB / 1.258 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/3.227, allocations: 96 / 1.258 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/3.227, allocations: 21.98 kB / 1.258 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/3.227, allocations: 60.58 kB / 1.258 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/3.227, allocations: 0 / 1.258 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/3.228, allocations: 1.298 MB / 1.259 GB, free: 121 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.228, allocations: 0 / 1.259 GB, free: 121 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/3.229, allocations: 320.2 kB / 1.26 GB, free: 120.9 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/3.229, allocations: 128.2 kB / 1.26 GB, free: 120.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/3.229, allocations: 3.844 kB / 1.26 GB, free: 120.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/3.229, allocations: 7.594 kB / 1.26 GB, free: 120.8 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/3.229, allocations: 11.27 kB / 1.26 GB, free: 120.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/3.23, allocations: 3.969 kB / 1.26 GB, free: 120.8 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000173/3.23, allocations: 160.8 kB / 1.26 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.31e-07/3.23, allocations: 0 / 1.26 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002015/3.232, allocations: 389.3 kB / 1.26 GB, free: 120.6 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 10 * 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.003954/3.236, allocations: 1.485 MB / 1.262 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0007671/3.237, allocations: 271.9 kB / 1.262 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/3.237, allocations: 0.6875 kB / 1.262 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/3.237, allocations: 158.7 kB / 1.262 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/3.237, allocations: 36.7 kB / 1.262 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1973/3.435, allocations: 77.14 MB / 1.337 GB, free: 66.84 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/3.435, allocations: 0.7601 MB / 1.338 GB, free: 66.06 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/3.435, allocations: 95.39 kB / 1.338 GB, free: 65.96 MB / 0.4952 GB Notification: Performance of SimCode: time 1.052e-06/3.435, allocations: 0 / 1.338 GB, free: 65.96 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.048/6.483, allocations: 11.9 MB / 1.35 GB, free: 54.07 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat