Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",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.001575/0.001575, allocations: 177.8 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, 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.000903/0.0009027, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2145/0.2145, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.558e-05, allocations: 4 kB / 418.3 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.594/1.712, allocations: 0.6093 GB / 1.075 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/1.712, allocations: 75.25 kB / 1.075 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.402/2.114, allocations: 44.75 MB / 1.119 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/2.114, allocations: 4 kB / 1.119 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.141e-06/2.114, allocations: 0 / 1.119 GB, free: 170.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005818/2.115, allocations: 426.7 kB / 1.12 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/2.115, allocations: 9.188 kB / 1.12 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/2.115, allocations: 12.33 kB / 1.12 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.676e-05/2.115, allocations: 168.7 kB / 1.12 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/2.115, allocations: 3.953 kB / 1.12 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/2.115, allocations: 9.844 kB / 1.12 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.747e-05/2.115, allocations: 43.16 kB / 1.12 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/2.115, allocations: 72.8 kB / 1.12 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/2.115, allocations: 3.906 kB / 1.12 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/2.115, allocations: 0 / 1.12 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/2.115, allocations: 3.375 kB / 1.12 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/2.116, allocations: 356.7 kB / 1.12 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/2.116, allocations: 55.09 kB / 1.12 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/2.116, allocations: 22.52 kB / 1.12 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/2.117, allocations: 0.9955 MB / 1.121 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/2.117, allocations: 34.56 kB / 1.121 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/2.117, allocations: 0 / 1.121 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.006651/2.124, allocations: 0.8767 MB / 1.122 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/2.124, allocations: 53.53 kB / 1.122 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/2.124, allocations: 95.81 kB / 1.122 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/2.124, allocations: 25.7 kB / 1.122 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/2.124, allocations: 92.27 kB / 1.122 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/2.124, allocations: 50.86 kB / 1.122 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/2.124, allocations: 0 / 1.122 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/2.124, allocations: 310.8 kB / 1.123 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/2.124, allocations: 72.11 kB / 1.123 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/2.124, allocations: 93.73 kB / 1.123 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/2.125, allocations: 220 kB / 1.123 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/2.125, allocations: 0 / 1.123 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001311/2.127, allocations: 356.6 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/2.127, allocations: 4.594 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.127, allocations: 7.172 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/2.127, allocations: 0 / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/2.127, allocations: 59.66 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/2.127, allocations: 3.516 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/2.128, allocations: 21.03 kB / 1.123 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/2.128, allocations: 14.45 kB / 1.124 GB, free: 167.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.58e-05/2.128, allocations: 108.5 kB / 1.124 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/2.129, allocations: 332.6 kB / 1.124 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/2.129, allocations: 15.28 kB / 1.124 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/2.131, allocations: 466.2 kB / 1.124 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/2.131, allocations: 3.844 kB / 1.124 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/2.131, allocations: 3.953 kB / 1.124 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.131, allocations: 6.766 kB / 1.124 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/2.133, allocations: 0.8114 MB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.133, allocations: 7.938 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/2.133, allocations: 40.47 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/2.133, allocations: 3.938 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/2.133, allocations: 4.203 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/2.133, allocations: 7.312 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.133, allocations: 6.656 kB / 1.125 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/2.134, allocations: 456.8 kB / 1.126 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/2.135, allocations: 102.9 kB / 1.126 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/2.135, allocations: 0 / 1.126 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/2.135, allocations: 10.31 kB / 1.126 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/2.135, allocations: 21.17 kB / 1.126 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/2.135, allocations: 10.61 kB / 1.126 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.706e-05/2.135, allocations: 87.25 kB / 1.126 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.01e-07/2.135, allocations: 0 / 1.126 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005889/2.136, allocations: 133.8 kB / 1.126 GB, free: 166.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002411/2.138, allocations: 1.618 MB / 1.128 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003403/2.139, allocations: 188.6 kB / 1.128 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/2.139, allocations: 3.938 kB / 1.128 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/2.139, allocations: 101.4 kB / 1.128 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/2.139, allocations: 18.77 kB / 1.128 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/2.14, allocations: 236.7 kB / 1.128 GB, free: 165 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/2.14, allocations: 0.7012 MB / 1.129 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004704/2.14, allocations: 67.89 kB / 1.129 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/2.141, allocations: 42.72 kB / 1.129 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/2.141, allocations: 0 / 1.129 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/2.173, allocations: 10.66 MB / 1.139 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/2.173, allocations: 129.4 kB / 1.139 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/4.336, allocations: 4 kB / 1.139 GB, free: 160.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat