Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001768/0.001768, allocations: 194.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 92.64 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.928e-05, allocations: 7.984 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.664/1.794, allocations: 0.5455 GB / 1.05 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.795, allocations: 79.95 kB / 1.05 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1796/1.974, allocations: 105.9 MB / 1.153 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.332e-06/1.974, allocations: 0 / 1.153 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.431e-05/1.974, allocations: 4 kB / 1.153 GB, free: 12.16 MB / 0.5261 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.003212/1.978, allocations: 1.025 MB / 1.154 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.978, allocations: 8.031 kB / 1.155 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/1.978, allocations: 75.66 kB / 1.155 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/1.979, allocations: 250.7 kB / 1.155 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.979, allocations: 8 kB / 1.155 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.979, allocations: 23.94 kB / 1.155 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006069/1.979, allocations: 0.5788 MB / 1.155 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/1.98, allocations: 352.5 kB / 1.156 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.98, allocations: 0 / 1.156 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/1.98, allocations: 8 kB / 1.156 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.98, allocations: 4 kB / 1.156 GB, free: 9.715 MB / 0.5261 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.4673/2.447, allocations: 39.33 MB / 1.194 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/2.447, allocations: 74.67 kB / 1.194 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/2.447, allocations: 27.33 kB / 1.194 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/2.462, allocations: 7.053 MB / 1.201 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/2.463, allocations: 89.73 kB / 1.201 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.597e-06/2.463, allocations: 4 kB / 1.201 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001944/2.464, allocations: 354.8 kB / 1.202 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/2.465, allocations: 54.66 kB / 1.202 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/2.465, allocations: 198.4 kB / 1.202 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/2.465, allocations: 33.42 kB / 1.202 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/2.465, allocations: 237.5 kB / 1.202 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/2.465, allocations: 45.52 kB / 1.202 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/2.465, allocations: 3.938 kB / 1.202 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/2.465, allocations: 337.3 kB / 1.202 GB, free: 134 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/2.465, allocations: 53.16 kB / 1.203 GB, free: 134 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/2.465, allocations: 288.4 kB / 1.203 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/2.467, allocations: 245 kB / 1.203 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/2.467, allocations: 3.688 kB / 1.203 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001762/2.469, allocations: 487.7 kB / 1.203 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/2.469, allocations: 13.91 kB / 1.203 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.469, allocations: 10.44 kB / 1.204 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/2.469, allocations: 13.12 kB / 1.204 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/2.47, allocations: 225.3 kB / 1.204 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/2.47, allocations: 0.6007 MB / 1.204 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/2.471, allocations: 13.95 kB / 1.204 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/2.471, allocations: 34.72 kB / 1.204 GB, free: 133.1 MB / 0.5261 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.0001205/2.471, allocations: 125.8 kB / 1.204 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005658/2.471, allocations: 150.4 kB / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/2.471, allocations: 21.78 kB / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/2.472, allocations: 310.5 kB / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/2.472, allocations: 2.719 kB / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/2.472, allocations: 0 / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/2.472, allocations: 2.906 kB / 1.205 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/2.472, allocations: 288.8 kB / 1.205 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/2.473, allocations: 0 / 1.205 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/2.473, allocations: 116.1 kB / 1.205 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/2.473, allocations: 5.312 kB / 1.205 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/2.473, allocations: 0 / 1.205 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002331/2.474, allocations: 0.5871 MB / 1.206 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.474, allocations: 7.234 kB / 1.206 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/2.474, allocations: 250.9 kB / 1.206 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/2.474, allocations: 139.2 kB / 1.206 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/2.474, allocations: 3.531 kB / 1.206 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/2.474, allocations: 10.39 kB / 1.206 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/2.474, allocations: 13.62 kB / 1.206 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/2.474, allocations: 7.281 kB / 1.206 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000118/2.475, allocations: 162.3 kB / 1.206 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.475, allocations: 0 / 1.206 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001934/2.476, allocations: 457.5 kB / 1.207 GB, free: 131.8 MB / 0.5261 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.002843/2.479, allocations: 1.52 MB / 1.208 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009486/2.48, allocations: 280.7 kB / 1.209 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.48, allocations: 0 / 1.209 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/2.481, allocations: 146.5 kB / 1.209 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/2.481, allocations: 37.08 kB / 1.209 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/2.637, allocations: 108.7 MB / 1.315 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/2.637, allocations: 0.7562 MB / 1.316 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006037/2.638, allocations: 284.3 kB / 1.316 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/2.638, allocations: 95.39 kB / 1.316 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/2.638, allocations: 0 / 1.316 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/2.682, allocations: 15.06 MB / 1.331 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/2.682, allocations: 160.3 kB / 1.331 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/5.22, allocations: 0 / 1.331 GB, free: 38.37 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat