Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001852/0.001853, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 89.52 kB / 267.1 MB, free: 9.289 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.5234/0.5234, allocations: 43.46 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.994e-05/4.997e-05, allocations: 4 kB / 425.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 58.85 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9891/1.14, allocations: 377.4 MB / 0.8415 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.14, allocations: 66.78 kB / 0.8415 GB, free: 32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04826/1.189, allocations: 21.24 MB / 0.8623 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/1.189, allocations: 0 / 0.8623 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.477e-05/1.189, allocations: 4 kB / 0.8623 GB, free: 14.4 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001443/1.19, allocations: 0.5639 MB / 0.8628 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/1.19, allocations: 12.03 kB / 0.8628 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/1.191, allocations: 61.11 kB / 0.8629 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.191, allocations: 23.81 kB / 0.8629 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/1.191, allocations: 233.3 kB / 0.8631 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/1.191, allocations: 126.3 kB / 0.8633 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/1.191, allocations: 19.06 kB / 0.8633 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.192, allocations: 307.4 kB / 0.8636 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.192, allocations: 3.938 kB / 0.8636 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/1.192, allocations: 11.06 kB / 0.8636 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.192, allocations: 15.97 kB / 0.8636 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008127/1.193, allocations: 0.7308 MB / 0.8643 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/1.194, allocations: 1.144 MB / 0.8654 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/1.195, allocations: 175.5 kB / 0.8656 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/1.195, allocations: 90.12 kB / 0.8657 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002633/1.198, allocations: 2.85 MB / 0.8685 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.198, allocations: 38.56 kB / 0.8685 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.026e-06/1.198, allocations: 0 / 0.8685 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0007209/1.198, allocations: 202.7 kB / 0.8687 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.198, allocations: 59.34 kB / 0.8688 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.199, allocations: 183.6 kB / 0.8689 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/1.199, allocations: 33.64 kB / 0.869 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.199, allocations: 202.5 kB / 0.8692 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/1.199, allocations: 61.86 kB / 0.8692 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/1.199, allocations: 15.62 kB / 0.8692 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/1.199, allocations: 330.2 kB / 0.8695 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/1.199, allocations: 43.98 kB / 0.8696 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.199, allocations: 310.4 kB / 0.8699 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/1.199, allocations: 102.6 kB / 0.87 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.199, allocations: 4 kB / 0.87 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005435/1.2, allocations: 364.8 kB / 0.8703 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.2, allocations: 12.25 kB / 0.8703 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.2, allocations: 8 kB / 0.8704 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.2, allocations: 19.95 kB / 0.8704 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/1.2, allocations: 111.4 kB / 0.8705 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/1.201, allocations: 19.92 kB / 0.8705 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/1.201, allocations: 23.44 kB / 0.8705 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.201, allocations: 27.62 kB / 0.8705 GB, free: 5.781 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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 8.823e-05/1.201, allocations: 133.1 kB / 0.8707 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/1.201, allocations: 23.81 kB / 0.8707 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/1.201, allocations: 182.2 kB / 0.8709 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.201, allocations: 11.94 kB / 0.8709 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.201, allocations: 0 / 0.8709 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.201, allocations: 0 / 0.8709 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/1.202, allocations: 452.2 kB / 0.8713 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.202, allocations: 4 kB / 0.8713 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.202, allocations: 28.03 kB / 0.8713 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.202, allocations: 8.094 kB / 0.8714 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.202, allocations: 7.938 kB / 0.8714 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.202, allocations: 4 kB / 0.8714 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.202, allocations: 0 / 0.8714 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/1.202, allocations: 265.4 kB / 0.8716 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/1.202, allocations: 112 kB / 0.8717 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/1.202, allocations: 4 kB / 0.8717 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/1.203, allocations: 11.86 kB / 0.8717 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/1.203, allocations: 4 kB / 0.8717 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/1.203, allocations: 19.5 kB / 0.8718 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001259/1.203, allocations: 147.6 kB / 0.8719 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.863e-06/1.203, allocations: 0 / 0.8719 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006095/1.204, allocations: 105.9 kB / 0.872 GB, free: 4.293 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0008404/1.204, allocations: 1.077 MB / 0.8731 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003173/1.205, allocations: 175.3 kB / 0.8732 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.205, allocations: 4.125 kB / 0.8732 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/1.205, allocations: 31.81 kB / 0.8733 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/1.205, allocations: 42.2 kB / 0.8733 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3044/1.51, allocations: 5.777 MB / 0.8789 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.51, allocations: 0.7307 MB / 0.8797 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003227/1.51, allocations: 60.7 kB / 0.8797 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.51, allocations: 61.98 kB / 0.8798 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.014e-06/1.51, allocations: 0 / 0.8798 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.532, allocations: 5.522 MB / 0.8852 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.532, allocations: 154.7 kB / 0.8853 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/3.534, allocations: 0 / 0.8853 GB, free: 149.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat