Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009202, allocations: 102 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.16 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.096e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.842/1.997, allocations: 0.5445 GB / 1.039 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.997, allocations: 79.95 kB / 1.039 GB, free: 60.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5907/2.588, allocations: 105.8 MB / 1.143 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/2.588, allocations: 2.062 kB / 1.143 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.701e-05/2.588, allocations: 3.969 kB / 1.143 GB, free: 159.1 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.003944/2.592, allocations: 1.034 MB / 1.144 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/2.592, allocations: 15.42 kB / 1.144 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/2.593, allocations: 72.58 kB / 1.144 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/2.593, allocations: 247.8 kB / 1.144 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/2.593, allocations: 7.906 kB / 1.144 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/2.593, allocations: 19.58 kB / 1.144 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006984/2.594, allocations: 0.5838 MB / 1.145 GB, free: 158 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/2.594, allocations: 352.4 kB / 1.145 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/2.594, allocations: 0 / 1.145 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/2.594, allocations: 3.5 kB / 1.145 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/2.594, allocations: 6.938 kB / 1.145 GB, free: 157.8 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.07314/2.667, allocations: 39.34 MB / 1.183 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/2.668, allocations: 78.64 kB / 1.183 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/2.668, allocations: 33.02 kB / 1.184 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/2.683, allocations: 7.034 MB / 1.19 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/2.684, allocations: 87.36 kB / 1.19 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 4.919e-06/2.684, allocations: 3.938 kB / 1.19 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.001977/2.686, allocations: 360.5 kB / 1.191 GB, free: 109 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/2.686, allocations: 59.41 kB / 1.191 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/2.686, allocations: 196.3 kB / 1.191 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/2.686, allocations: 29.7 kB / 1.191 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/2.686, allocations: 234.5 kB / 1.191 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/2.686, allocations: 51.34 kB / 1.191 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/2.686, allocations: 0 / 1.191 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/2.686, allocations: 330.8 kB / 1.192 GB, free: 108 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/2.686, allocations: 57.05 kB / 1.192 GB, free: 108 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/2.686, allocations: 289.7 kB / 1.192 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/2.688, allocations: 252.7 kB / 1.192 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/2.688, allocations: 4 kB / 1.192 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001734/2.69, allocations: 481.6 kB / 1.193 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/2.69, allocations: 8 kB / 1.193 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/2.69, allocations: 11.98 kB / 1.193 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/2.69, allocations: 12 kB / 1.193 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/2.691, allocations: 231.8 kB / 1.193 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003734/2.692, allocations: 0.6054 MB / 1.194 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/2.692, allocations: 8 kB / 1.194 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/2.692, allocations: 35.92 kB / 1.194 GB, free: 105.9 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001442/2.692, allocations: 132.8 kB / 1.194 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005754/2.693, allocations: 149.4 kB / 1.194 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/2.693, allocations: 23.77 kB / 1.194 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006238/2.693, allocations: 303 kB / 1.194 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/2.693, allocations: 7.984 kB / 1.194 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.693, allocations: 0 / 1.194 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/2.693, allocations: 0 / 1.194 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/2.694, allocations: 285.6 kB / 1.194 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/2.694, allocations: 0 / 1.194 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/2.695, allocations: 116 kB / 1.195 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/2.695, allocations: 4 kB / 1.195 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/2.695, allocations: 3.953 kB / 1.195 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002518/2.695, allocations: 0.5938 MB / 1.195 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.695, allocations: 0 / 1.195 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/2.695, allocations: 252.5 kB / 1.195 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/2.695, allocations: 140.6 kB / 1.196 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/2.695, allocations: 0 / 1.196 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/2.696, allocations: 4 kB / 1.196 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/2.696, allocations: 8.078 kB / 1.196 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/2.696, allocations: 11.98 kB / 1.196 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001236/2.696, allocations: 162 kB / 1.196 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.696, allocations: 0 / 1.196 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002061/2.698, allocations: 459.4 kB / 1.196 GB, free: 103.2 MB / 0.5105 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002686/2.701, allocations: 1.535 MB / 1.198 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008336/2.701, allocations: 268.7 kB / 1.198 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/2.701, allocations: 0 / 1.198 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/2.702, allocations: 160.6 kB / 1.198 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/2.702, allocations: 32.44 kB / 1.198 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.485/3.187, allocations: 108.7 MB / 1.304 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/3.188, allocations: 0.7572 MB / 1.305 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009013/3.189, allocations: 279.2 kB / 1.305 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/3.189, allocations: 90.11 kB / 1.305 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.023e-06/3.189, allocations: 3.766 kB / 1.305 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05894/3.248, allocations: 15.05 MB / 1.32 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/3.248, allocations: 163.6 kB / 1.32 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/5.999, allocations: 4 kB / 1.32 GB, free: 143.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat