Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01014/0.01014, allocations: 174.3 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.929/1.929, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002007/0.002006, allocations: 116.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2532/0.2532, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 10.12 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 54.87 MB / 461.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/1.995, allocations: 0.6067 GB / 1.057 GB, free: 30.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.995, allocations: 72.66 kB / 1.057 GB, free: 29.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4647/2.46, allocations: 45.46 MB / 1.101 GB, free: 162.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.46, allocations: 0 / 1.101 GB, free: 162.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/2.46, allocations: 4.812 kB / 1.101 GB, free: 162.4 MB / 490.7 MB 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.0007191/2.461, allocations: 438 kB / 1.102 GB, free: 162 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.461, allocations: 9.344 kB / 1.102 GB, free: 162 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/2.461, allocations: 38.69 kB / 1.102 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/2.461, allocations: 9.875 kB / 1.102 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.621e-05/2.461, allocations: 174.1 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/2.461, allocations: 1.562 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/2.461, allocations: 11.25 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/2.461, allocations: 68.03 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/2.462, allocations: 5.344 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/2.462, allocations: 5.094 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/2.462, allocations: 1.312 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/2.462, allocations: 50.02 kB / 1.102 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/2.462, allocations: 381 kB / 1.103 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/2.462, allocations: 65.23 kB / 1.103 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/2.464, allocations: 1.003 MB / 1.104 GB, free: 160.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/2.464, allocations: 31.66 kB / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 3.576e-06/2.464, allocations: 0 / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.009715/2.474, allocations: 0.6575 MB / 1.104 GB, free: 160.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/2.474, allocations: 56.73 kB / 1.104 GB, free: 160.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/2.474, allocations: 90.5 kB / 1.104 GB, free: 160 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/2.474, allocations: 30.39 kB / 1.105 GB, free: 160 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/2.474, allocations: 91.28 kB / 1.105 GB, free: 159.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/2.474, allocations: 48.81 kB / 1.105 GB, free: 159.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/2.474, allocations: 4.938 kB / 1.105 GB, free: 159.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/2.474, allocations: 319 kB / 1.105 GB, free: 159.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/2.475, allocations: 82.06 kB / 1.105 GB, free: 159.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/2.475, allocations: 109.1 kB / 1.105 GB, free: 159.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/2.475, allocations: 81.25 kB / 1.105 GB, free: 159.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.475, allocations: 1.375 kB / 1.105 GB, free: 159.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009137/2.476, allocations: 247 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/2.476, allocations: 7.062 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/2.476, allocations: 0 / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/2.476, allocations: 1.781 kB / 1.105 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/2.477, allocations: 53.83 kB / 1.106 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/2.477, allocations: 5.219 kB / 1.106 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/2.478, allocations: 22.78 kB / 1.106 GB, free: 159.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/2.478, allocations: 11.83 kB / 1.106 GB, free: 159.5 MB / 490.7 MB 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 () * Number of clocked 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 0.0001445/2.478, allocations: 117.1 kB / 1.106 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/2.478, allocations: 7.844 kB / 1.106 GB, free: 159.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/2.48, allocations: 348.4 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.48, allocations: 4.875 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.48, allocations: 0 / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.48, allocations: 3.844 kB / 1.106 GB, free: 159.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/2.481, allocations: 0.7535 MB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.481, allocations: 0 / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/2.482, allocations: 41.53 kB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/2.482, allocations: 1.062 kB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/2.482, allocations: 10.31 kB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/2.482, allocations: 4.125 kB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.482, allocations: 7 kB / 1.107 GB, free: 158.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/2.483, allocations: 343.2 kB / 1.107 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/2.484, allocations: 108.5 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/2.484, allocations: 1.062 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/2.484, allocations: 15.55 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.919e-05/2.484, allocations: 9.922 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/2.484, allocations: 17.36 kB / 1.107 GB, free: 158.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/2.484, allocations: 79.09 kB / 1.107 GB, free: 158.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.485, allocations: 3.656 kB / 1.107 GB, free: 158.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008778/2.485, allocations: 150.7 kB / 1.108 GB, free: 158.5 MB / 490.7 MB 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 () * Number of clocked 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.002477/2.488, allocations: 1.406 MB / 1.109 GB, free: 157.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/2.489, allocations: 201.6 kB / 1.109 GB, free: 157.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.489, allocations: 1.031 kB / 1.109 GB, free: 157.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/2.489, allocations: 116.8 kB / 1.109 GB, free: 157.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/2.49, allocations: 27.86 kB / 1.109 GB, free: 157.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/2.491, allocations: 397.5 kB / 1.11 GB, free: 157.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/2.491, allocations: 0.697 MB / 1.11 GB, free: 156.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008685/2.492, allocations: 66.39 kB / 1.11 GB, free: 156.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/2.492, allocations: 39.69 kB / 1.11 GB, free: 156.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/2.493, allocations: 1.938 kB / 1.11 GB, free: 156.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/2.538, allocations: 15.47 MB / 1.125 GB, free: 155.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/2.538, allocations: 174.4 kB / 1.126 GB, free: 155.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.274/5.812, allocations: 0 / 1.126 GB, free: 155.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat