Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_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.001477/0.001477, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.108/2.108, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 84.88 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2954/0.2954, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.188e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4179, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.99/2.408, allocations: 0.5955 GB / 1.062 GB, free: 136.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/2.408, allocations: 70.66 kB / 1.062 GB, free: 136.6 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.2347/2.643, allocations: 60.32 MB / 1.12 GB, free: 91.03 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.533e-06/2.643, allocations: 0 / 1.12 GB, free: 91.03 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.573e-05/2.643, allocations: 4 kB / 1.12 GB, free: 91.03 MB / 0.4952 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.00209/2.645, allocations: 0.702 MB / 1.121 GB, free: 90.28 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/2.645, allocations: 8.031 kB / 1.121 GB, free: 90.27 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/2.657, allocations: 0.5965 MB / 1.122 GB, free: 89.68 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/2.658, allocations: 254.7 kB / 1.122 GB, free: 89.39 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/2.658, allocations: 111.4 kB / 1.122 GB, free: 89.25 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/2.658, allocations: 16 kB / 1.122 GB, free: 89.24 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/2.66, allocations: 0.5397 MB / 1.123 GB, free: 88.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/2.66, allocations: 312.2 kB / 1.123 GB, free: 88.36 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/2.66, allocations: 11.89 kB / 1.123 GB, free: 88.35 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/2.661, allocations: 0 / 1.123 GB, free: 88.35 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/2.661, allocations: 8 kB / 1.123 GB, free: 88.34 MB / 0.4952 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.00335/2.664, allocations: 1.907 MB / 1.125 GB, free: 86.26 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/2.666, allocations: 122.7 kB / 1.125 GB, free: 86.13 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/2.666, allocations: 44.84 kB / 1.125 GB, free: 86.08 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/2.666, allocations: 24.86 kB / 1.125 GB, free: 86.06 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/2.666, allocations: 30.56 kB / 1.125 GB, free: 86.02 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=10): time 3.807e-06/2.666, allocations: 4 kB / 1.125 GB, free: 86.02 MB / 0.4952 GB Notification: Performance of matching and sorting (n=11): time 0.005553/2.672, allocations: 0.5142 MB / 1.126 GB, free: 85.47 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/2.672, allocations: 51.5 kB / 1.126 GB, free: 85.41 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/2.672, allocations: 185.7 kB / 1.126 GB, free: 85.22 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/2.672, allocations: 25.7 kB / 1.126 GB, free: 85.19 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/2.672, allocations: 281.2 kB / 1.126 GB, free: 84.91 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/2.672, allocations: 51.38 kB / 1.126 GB, free: 84.86 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/2.672, allocations: 0 / 1.126 GB, free: 84.86 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/2.672, allocations: 330.8 kB / 1.126 GB, free: 84.53 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/2.672, allocations: 56.86 kB / 1.127 GB, free: 84.47 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/2.673, allocations: 258 kB / 1.127 GB, free: 84.13 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/2.673, allocations: 135.8 kB / 1.127 GB, free: 84 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/2.673, allocations: 4 kB / 1.127 GB, free: 83.99 MB / 0.4952 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00112/2.674, allocations: 367.3 kB / 1.127 GB, free: 83.63 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/2.674, allocations: 11.98 kB / 1.127 GB, free: 83.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.674, allocations: 8 kB / 1.127 GB, free: 83.61 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/2.675, allocations: 8 kB / 1.127 GB, free: 83.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/2.675, allocations: 167.8 kB / 1.127 GB, free: 83.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/2.676, allocations: 0.6138 MB / 1.128 GB, free: 82.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/2.676, allocations: 8 kB / 1.128 GB, free: 82.79 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/2.676, allocations: 55.98 kB / 1.128 GB, free: 82.74 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001512/2.677, allocations: 124.8 kB / 1.128 GB, free: 82.61 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004368/2.677, allocations: 145.4 kB / 1.128 GB, free: 82.46 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/2.677, allocations: 19.81 kB / 1.128 GB, free: 82.44 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/2.678, allocations: 240.3 kB / 1.129 GB, free: 82.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/2.678, allocations: 3.984 kB / 1.129 GB, free: 82.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.678, allocations: 0 / 1.129 GB, free: 82.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.678, allocations: 12 kB / 1.129 GB, free: 82.19 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/2.679, allocations: 452.7 kB / 1.129 GB, free: 81.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/2.679, allocations: 0 / 1.129 GB, free: 81.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/2.68, allocations: 79.78 kB / 1.129 GB, free: 81.62 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/2.68, allocations: 4 kB / 1.129 GB, free: 81.61 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/2.68, allocations: 4 kB / 1.129 GB, free: 81.61 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/2.68, allocations: 0.5977 MB / 1.13 GB, free: 80.99 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/2.68, allocations: 4.125 kB / 1.13 GB, free: 80.98 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/2.681, allocations: 268.3 kB / 1.13 GB, free: 80.69 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/2.681, allocations: 113 kB / 1.13 GB, free: 80.56 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/2.681, allocations: 4 kB / 1.13 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/2.681, allocations: 4 kB / 1.13 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/2.681, allocations: 19.92 kB / 1.13 GB, free: 80.53 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/2.681, allocations: 24 kB / 1.13 GB, free: 80.51 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001592/2.682, allocations: 144.2 kB / 1.13 GB, free: 80.37 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/2.682, allocations: 0 / 1.13 GB, free: 80.37 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001432/2.683, allocations: 263.7 kB / 1.131 GB, free: 80.11 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002613/2.686, allocations: 1.67 MB / 1.132 GB, free: 78.4 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0008185/2.687, allocations: 212.1 kB / 1.132 GB, free: 78.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.687, allocations: 0 / 1.132 GB, free: 78.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/2.687, allocations: 75.91 kB / 1.132 GB, free: 78.12 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/2.687, allocations: 25.61 kB / 1.132 GB, free: 78.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1048/2.792, allocations: 28.26 MB / 1.16 GB, free: 49.66 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/2.792, allocations: 0.7248 MB / 1.161 GB, free: 48.91 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/2.793, allocations: 127.4 kB / 1.161 GB, free: 48.78 MB / 0.4952 GB Notification: Performance of SimCode: time 1.223e-06/2.793, allocations: 0 / 1.161 GB, free: 48.78 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/5.723, allocations: 10.38 MB / 1.171 GB, free: 38.39 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat