Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.002317/0.002317, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008036/0.0008036, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.26/0.26, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.729e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.341/2.481, allocations: 0.645 GB / 1.111 GB, free: 182.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/2.482, allocations: 82.42 kB / 1.111 GB, free: 182.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1962/2.678, allocations: 108.7 MB / 1.217 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.736e-06/2.678, allocations: 0 / 1.217 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.83e-05/2.678, allocations: 4 kB / 1.217 GB, free: 85.81 MB / 0.4948 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.003755/2.682, allocations: 1.045 MB / 1.218 GB, free: 84.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/2.682, allocations: 12.03 kB / 1.218 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/2.682, allocations: 71.66 kB / 1.218 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/2.683, allocations: 254.7 kB / 1.219 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/2.683, allocations: 11.94 kB / 1.219 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/2.683, allocations: 16 kB / 1.219 GB, free: 84.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006334/2.683, allocations: 0.5788 MB / 1.219 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/2.684, allocations: 352.5 kB / 1.22 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/2.684, allocations: 0 / 1.22 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/2.684, allocations: 4 kB / 1.22 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/2.684, allocations: 4 kB / 1.22 GB, free: 83.36 MB / 0.4948 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.07468/2.759, allocations: 39.34 MB / 1.258 GB, free: 40.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/2.759, allocations: 70.66 kB / 1.258 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/2.759, allocations: 32.86 kB / 1.258 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/2.775, allocations: 7.051 MB / 1.265 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/2.776, allocations: 95.45 kB / 1.265 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 5.009e-06/2.776, allocations: 0 / 1.265 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.002431/2.778, allocations: 348.6 kB / 1.265 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/2.778, allocations: 51.41 kB / 1.265 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/2.778, allocations: 210.9 kB / 1.266 GB, free: 32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/2.778, allocations: 29.7 kB / 1.266 GB, free: 31.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/2.779, allocations: 234.5 kB / 1.266 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/2.779, allocations: 47.39 kB / 1.266 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/2.779, allocations: 0 / 1.266 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001425/2.779, allocations: 330.8 kB / 1.266 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/2.779, allocations: 57.11 kB / 1.266 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/2.779, allocations: 286.1 kB / 1.267 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/2.781, allocations: 251.6 kB / 1.267 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/2.781, allocations: 4 kB / 1.267 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001951/2.783, allocations: 481.8 kB / 1.267 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/2.783, allocations: 16.17 kB / 1.267 GB, free: 30.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/2.783, allocations: 8 kB / 1.267 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/2.783, allocations: 16 kB / 1.267 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/2.785, allocations: 227.7 kB / 1.268 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005513/2.785, allocations: 0.6016 MB / 1.268 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/2.786, allocations: 8 kB / 1.268 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/2.786, allocations: 39.92 kB / 1.268 GB, free: 29.23 MB / 0.4948 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.0001992/2.786, allocations: 124.8 kB / 1.268 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006609/2.786, allocations: 157.5 kB / 1.268 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/2.787, allocations: 27.72 kB / 1.268 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/2.787, allocations: 311.2 kB / 1.269 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/2.787, allocations: 0 / 1.269 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/2.787, allocations: 0 / 1.269 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/2.787, allocations: 3.984 kB / 1.269 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/2.788, allocations: 293.7 kB / 1.269 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/2.788, allocations: 4 kB / 1.269 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/2.789, allocations: 115.8 kB / 1.269 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/2.789, allocations: 0 / 1.269 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/2.789, allocations: 0 / 1.269 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003928/2.789, allocations: 0.5821 MB / 1.27 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.789, allocations: 3.953 kB / 1.27 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/2.79, allocations: 262.2 kB / 1.27 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/2.79, allocations: 132.8 kB / 1.27 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/2.79, allocations: 0 / 1.27 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/2.79, allocations: 8 kB / 1.27 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/2.79, allocations: 11.94 kB / 1.27 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/2.79, allocations: 4 kB / 1.27 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001593/2.79, allocations: 170 kB / 1.27 GB, free: 26.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/2.79, allocations: 0 / 1.27 GB, free: 26.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003032/2.793, allocations: 459.4 kB / 1.271 GB, free: 26.49 MB / 0.4948 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.003399/2.797, allocations: 1.524 MB / 1.272 GB, free: 24.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001219/2.798, allocations: 273.8 kB / 1.272 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/2.798, allocations: 0 / 1.272 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006285/2.799, allocations: 143.9 kB / 1.273 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/2.799, allocations: 36.56 kB / 1.273 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4833/3.282, allocations: 111.4 MB / 1.381 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/3.283, allocations: 0.7522 MB / 1.382 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006599/3.283, allocations: 287.9 kB / 1.382 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/3.284, allocations: 95.86 kB / 1.383 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/3.284, allocations: 0 / 1.383 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/3.328, allocations: 15.05 MB / 1.397 GB, free: 93.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/3.328, allocations: 164.2 kB / 1.397 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/5.965, allocations: 0 / 1.397 GB, free: 92.91 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat