Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0012/0.0012, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000833/0.0008331, allocations: 94.16 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 45.14 MB / 383.7 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.188e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.67, allocations: 0.5456 GB / 1.05 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.671, allocations: 84.33 kB / 1.05 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5523/2.223, allocations: 105.9 MB / 1.153 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.957e-06/2.223, allocations: 1.094 kB / 1.154 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.556e-05/2.223, allocations: 2.906 kB / 1.154 GB, free: 154.8 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.005815/2.229, allocations: 1.02 MB / 1.155 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.922e-05/2.229, allocations: 10.3 kB / 1.155 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/2.23, allocations: 77.03 kB / 1.155 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/2.231, allocations: 252.9 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/2.231, allocations: 9 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/2.231, allocations: 14.81 kB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/2.232, allocations: 0.5821 MB / 1.155 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/2.232, allocations: 351.6 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/2.233, allocations: 4.844 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/2.233, allocations: 1.656 kB / 1.156 GB, free: 154 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/2.233, allocations: 7.125 kB / 1.156 GB, free: 154 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.05107/2.284, allocations: 29.5 MB / 1.185 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/2.284, allocations: 39.94 kB / 1.185 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/2.284, allocations: 14.8 kB / 1.185 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007152/2.291, allocations: 3.54 MB / 1.188 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/2.291, allocations: 77.5 kB / 1.188 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.988e-06/2.291, allocations: 0 / 1.188 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.000831/2.292, allocations: 162.6 kB / 1.188 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/2.292, allocations: 51.41 kB / 1.188 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/2.292, allocations: 219.1 kB / 1.189 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/2.292, allocations: 25.7 kB / 1.189 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/2.293, allocations: 257.2 kB / 1.189 GB, free: 134 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/2.293, allocations: 33.14 kB / 1.189 GB, free: 134 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/2.293, allocations: 0 / 1.189 GB, free: 134 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/2.293, allocations: 326.7 kB / 1.189 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/2.293, allocations: 52.09 kB / 1.189 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/2.293, allocations: 300.3 kB / 1.19 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/2.294, allocations: 211.7 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/2.294, allocations: 0 / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001503/2.296, allocations: 454.2 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/2.296, allocations: 7.906 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.296, allocations: 8.578 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/2.296, allocations: 14.19 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/2.296, allocations: 109 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/2.296, allocations: 17.58 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/2.297, allocations: 48.03 kB / 1.19 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/2.297, allocations: 32 kB / 1.19 GB, free: 133.3 MB / 0.5261 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.0001057/2.297, allocations: 129.2 kB / 1.191 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001775/2.297, allocations: 78.92 kB / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/2.297, allocations: 25.25 kB / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/2.297, allocations: 151.6 kB / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/2.297, allocations: 11.45 kB / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.297, allocations: 0.875 kB / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/2.297, allocations: 0 / 1.191 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/2.298, allocations: 434.8 kB / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/2.298, allocations: 0 / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/2.298, allocations: 15.73 kB / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/2.298, allocations: 0 / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/2.298, allocations: 3.406 kB / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/2.298, allocations: 0 / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.298, allocations: 4.031 kB / 1.191 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/2.298, allocations: 194.2 kB / 1.191 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/2.298, allocations: 138.5 kB / 1.192 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/2.298, allocations: 0 / 1.192 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/2.298, allocations: 7.344 kB / 1.192 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/2.298, allocations: 10.14 kB / 1.192 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/2.298, allocations: 0.6562 kB / 1.192 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001223/2.299, allocations: 180.4 kB / 1.192 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/2.299, allocations: 0 / 1.192 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001702/2.3, allocations: 416.6 kB / 1.192 GB, free: 132.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002156/2.302, allocations: 1.484 MB / 1.194 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000285/2.303, allocations: 153 kB / 1.194 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.303, allocations: 7.969 kB / 1.194 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/2.303, allocations: 15.12 kB / 1.194 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/2.303, allocations: 34.39 kB / 1.194 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.224/2.527, allocations: 162.6 MB / 1.353 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/2.527, allocations: 0.7404 MB / 1.353 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005501/2.528, allocations: 221.8 kB / 1.354 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/2.528, allocations: 75.41 kB / 1.354 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of SimCode: time 8.81e-07/2.528, allocations: 3.938 kB / 1.354 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3886/2.917, allocations: 13.32 MB / 1.367 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/2.917, allocations: 164.1 kB / 1.367 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/5.406, allocations: 6.562 kB / 1.367 GB, free: 143.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat