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.00116/0.00116, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.785/1.785, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00146/0.00146, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2736/0.2736, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 58.87 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.211, allocations: 377.5 MB / 0.8475 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/1.212, allocations: 75.53 kB / 0.8476 GB, free: 41.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06271/1.274, allocations: 21.28 MB / 0.8684 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.167e-06/1.274, allocations: 0 / 0.8684 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.972e-05/1.274, allocations: 0 / 0.8684 GB, free: 24.02 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.001596/1.276, allocations: 0.5647 MB / 0.8689 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.276, allocations: 8.031 kB / 0.8689 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/1.276, allocations: 64.16 kB / 0.869 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/1.276, allocations: 35.67 kB / 0.869 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/1.277, allocations: 225.7 kB / 0.8692 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.277, allocations: 122.8 kB / 0.8694 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/1.277, allocations: 19.12 kB / 0.8694 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/1.278, allocations: 321.9 kB / 0.8697 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.278, allocations: 4 kB / 0.8697 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/1.278, allocations: 7.312 kB / 0.8697 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/1.278, allocations: 11.98 kB / 0.8697 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.279, allocations: 0.7421 MB / 0.8704 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/1.281, allocations: 1.15 MB / 0.8715 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/1.282, allocations: 165.7 kB / 0.8717 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002925/1.285, allocations: 2.635 MB / 0.8743 GB, free: 17.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.285, allocations: 42.12 kB / 0.8743 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/1.285, allocations: 0 / 0.8743 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0009731/1.286, allocations: 232.6 kB / 0.8745 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.286, allocations: 55.34 kB / 0.8746 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.286, allocations: 187.3 kB / 0.8748 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/1.286, allocations: 29.64 kB / 0.8748 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.286, allocations: 208.6 kB / 0.875 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/1.286, allocations: 61.33 kB / 0.8751 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/1.286, allocations: 7.5 kB / 0.8751 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/1.286, allocations: 333.2 kB / 0.8754 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.286, allocations: 47.22 kB / 0.8754 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/1.287, allocations: 317.8 kB / 0.8757 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/1.287, allocations: 101.9 kB / 0.8758 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.287, allocations: 4 kB / 0.8758 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008878/1.288, allocations: 370.6 kB / 0.8762 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.288, allocations: 11.98 kB / 0.8762 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.288, allocations: 12.08 kB / 0.8762 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/1.288, allocations: 19.89 kB / 0.8762 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/1.289, allocations: 107.3 kB / 0.8763 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.289, allocations: 23.91 kB / 0.8764 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/1.289, allocations: 23.25 kB / 0.8764 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/1.289, allocations: 23.88 kB / 0.8764 GB, free: 15.64 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 () * Number of clocked 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 0.0001741/1.289, allocations: 160.2 kB / 0.8766 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/1.29, allocations: 23.72 kB / 0.8766 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/1.29, allocations: 180.3 kB / 0.8767 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.29, allocations: 4 kB / 0.8768 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.29, allocations: 3.953 kB / 0.8768 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.29, allocations: 0 / 0.8768 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/1.291, allocations: 450.6 kB / 0.8772 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/1.291, allocations: 0 / 0.8772 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/1.291, allocations: 35.55 kB / 0.8772 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.291, allocations: 3.953 kB / 0.8772 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.291, allocations: 4 kB / 0.8772 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.291, allocations: 3.984 kB / 0.8772 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.291, allocations: 0 / 0.8772 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/1.292, allocations: 268.4 kB / 0.8775 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.292, allocations: 108.3 kB / 0.8776 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/1.292, allocations: 4 kB / 0.8776 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.292, allocations: 15.8 kB / 0.8776 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/1.292, allocations: 11.92 kB / 0.8776 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/1.292, allocations: 12 kB / 0.8776 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001702/1.293, allocations: 154.3 kB / 0.8778 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.293, allocations: 0 / 0.8778 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009229/1.294, allocations: 94.88 kB / 0.8779 GB, free: 14.14 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 () * Number of clocked 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.0008679/1.294, allocations: 1.09 MB / 0.8789 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004584/1.295, allocations: 178 kB / 0.8791 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.295, allocations: 0 / 0.8791 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.682e-05/1.295, allocations: 36.48 kB / 0.8791 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/1.296, allocations: 42.78 kB / 0.8792 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/1.318, allocations: 13.18 MB / 0.8921 GB, free: 40 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2222/1.54, allocations: 0.7251 MB / 0.8928 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004733/1.54, allocations: 60.58 kB / 0.8928 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.541, allocations: 62.34 kB / 0.8929 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.954e-06/1.541, allocations: 2.906 kB / 0.8929 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/1.563, allocations: 5.376 MB / 0.8981 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.563, allocations: 183.8 kB / 0.8983 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/3.396, allocations: 0 / 0.8983 GB, free: 169.1 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