Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001659/0.001664, allocations: 185.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001239/0.001239, allocations: 97.11 kB / 270.9 MB, free: 8.359 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.5437/0.5437, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006234/0.0006236, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.36, allocations: 377.5 MB / 0.8475 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.36, allocations: 78.39 kB / 0.8476 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4265/1.787, allocations: 21.27 MB / 0.8683 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.866e-06/1.787, allocations: 0 / 0.8683 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.787, allocations: 10.41 kB / 0.8683 GB, free: 160.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.001398/1.788, allocations: 0.5649 MB / 0.8689 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.788, allocations: 8.938 kB / 0.8689 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/1.788, allocations: 62.14 kB / 0.869 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/1.789, allocations: 34.2 kB / 0.869 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/1.789, allocations: 223.5 kB / 0.8692 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.789, allocations: 127.8 kB / 0.8693 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/1.789, allocations: 20.34 kB / 0.8693 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/1.79, allocations: 323.4 kB / 0.8697 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/1.79, allocations: 1.031 kB / 0.8697 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/1.79, allocations: 12.59 kB / 0.8697 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/1.79, allocations: 12.91 kB / 0.8697 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/1.791, allocations: 0.7337 MB / 0.8704 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/1.793, allocations: 1.152 MB / 0.8715 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/1.793, allocations: 168.7 kB / 0.8717 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003726/1.797, allocations: 2.644 MB / 0.8743 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/1.797, allocations: 33.56 kB / 0.8743 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 5.25e-06/1.797, allocations: 4 kB / 0.8743 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001287/1.798, allocations: 236.8 kB / 0.8745 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.799, allocations: 58.52 kB / 0.8746 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/1.799, allocations: 186.6 kB / 0.8748 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/1.799, allocations: 29.08 kB / 0.8748 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/1.799, allocations: 278 kB / 0.8751 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/1.799, allocations: 59.78 kB / 0.8751 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/1.799, allocations: 6.281 kB / 0.8751 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/1.799, allocations: 336.7 kB / 0.8754 GB, free: 155 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.8, allocations: 48.98 kB / 0.8755 GB, free: 155 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/1.8, allocations: 310.5 kB / 0.8758 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/1.8, allocations: 108.9 kB / 0.8759 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.8, allocations: 2.75 kB / 0.8759 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00123/1.802, allocations: 372.6 kB / 0.8762 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/1.802, allocations: 9.406 kB / 0.8762 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/1.802, allocations: 9.875 kB / 0.8763 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.393e-05/1.802, allocations: 18.31 kB / 0.8763 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/1.803, allocations: 106 kB / 0.8764 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.33e-05/1.803, allocations: 21.88 kB / 0.8764 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/1.803, allocations: 23.64 kB / 0.8764 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/1.803, allocations: 24.16 kB / 0.8764 GB, free: 154.6 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.0002721/1.804, allocations: 160.3 kB / 0.8766 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.804, allocations: 23.3 kB / 0.8766 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/1.805, allocations: 186 kB / 0.8768 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.805, allocations: 6.719 kB / 0.8768 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.805, allocations: 0 / 0.8768 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.805, allocations: 0 / 0.8768 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/1.806, allocations: 451.7 kB / 0.8772 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.806, allocations: 5.031 kB / 0.8772 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/1.806, allocations: 29.48 kB / 0.8773 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.806, allocations: 2.188 kB / 0.8773 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.806, allocations: 13.19 kB / 0.8773 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.806, allocations: 6.141 kB / 0.8773 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.806, allocations: 1.188 kB / 0.8773 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/1.807, allocations: 260.8 kB / 0.8775 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/1.807, allocations: 113.8 kB / 0.8776 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/1.807, allocations: 4.844 kB / 0.8776 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/1.808, allocations: 13.39 kB / 0.8777 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/1.808, allocations: 12.36 kB / 0.8777 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.808, allocations: 6.062 kB / 0.8777 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002524/1.808, allocations: 150.4 kB / 0.8778 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.808, allocations: 0 / 0.8778 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00127/1.81, allocations: 99.5 kB / 0.8779 GB, free: 153.6 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.001124/1.811, allocations: 1.068 MB / 0.879 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007035/1.811, allocations: 176.2 kB / 0.8791 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.812, allocations: 1.719 kB / 0.8791 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/1.812, allocations: 43.62 kB / 0.8792 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/1.812, allocations: 49.12 kB / 0.8792 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/1.841, allocations: 13.21 MB / 0.8921 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/1.842, allocations: 0.7289 MB / 0.8928 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.842, allocations: 73.53 kB / 0.8929 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.842, allocations: 0 / 0.8929 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/4.585, allocations: 4.205 MB / 0.897 GB, free: 143.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat