Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01/0.01, allocations: 166.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.65/1.65, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002003/0.002003, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4693/0.4693, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006509, allocations: 8 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1167, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.26/11.37, allocations: 3.623 GB / 4.025 GB, free: 53.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/11.37, allocations: 88.64 kB / 4.025 GB, free: 53.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831/13.21, allocations: 303 MB / 4.321 GB, free: 56.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.305e-06/13.21, allocations: 0 / 4.321 GB, free: 56.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.441e-05/13.21, allocations: 10.25 kB / 4.321 GB, free: 56.17 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.006006/13.21, allocations: 1.643 MB / 4.323 GB, free: 55.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/13.21, allocations: 10.56 kB / 4.323 GB, free: 55.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/13.21, allocations: 79.38 kB / 4.323 GB, free: 54.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/13.21, allocations: 54.09 kB / 4.323 GB, free: 54.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/13.21, allocations: 398.8 kB / 4.323 GB, free: 54.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/13.21, allocations: 31.45 kB / 4.323 GB, free: 54.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/13.21, allocations: 34.72 kB / 4.324 GB, free: 54.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/13.21, allocations: 0.5059 MB / 4.324 GB, free: 54.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/13.21, allocations: 3.906 kB / 4.324 GB, free: 54.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/13.21, allocations: 14.22 kB / 4.324 GB, free: 54.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/13.21, allocations: 18.31 kB / 4.324 GB, free: 54.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/13.22, allocations: 494.5 kB / 4.325 GB, free: 54.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/13.22, allocations: 1.946 MB / 4.326 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/13.22, allocations: 374.8 kB / 4.327 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009463/13.22, allocations: 0.9595 MB / 4.328 GB, free: 52.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/13.22, allocations: 37.08 kB / 4.328 GB, free: 52.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.896e-06/13.22, allocations: 3.188 kB / 4.328 GB, free: 52.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001383/13.22, allocations: 405.5 kB / 4.328 GB, free: 52.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/13.22, allocations: 106.6 kB / 4.328 GB, free: 52.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/13.22, allocations: 272.5 kB / 4.329 GB, free: 51.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/13.22, allocations: 35.05 kB / 4.329 GB, free: 51.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/13.22, allocations: 250.5 kB / 4.329 GB, free: 51.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/13.22, allocations: 99 kB / 4.329 GB, free: 51.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/13.22, allocations: 11.72 kB / 4.329 GB, free: 51.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/13.22, allocations: 343.1 kB / 4.329 GB, free: 51.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/13.22, allocations: 123.7 kB / 4.329 GB, free: 51.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/13.23, allocations: 307.2 kB / 4.33 GB, free: 51.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/13.23, allocations: 235.2 kB / 4.33 GB, free: 50.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/13.23, allocations: 0 / 4.33 GB, free: 50.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001421/13.23, allocations: 0.5446 MB / 4.33 GB, free: 50.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/13.23, allocations: 66.47 kB / 4.33 GB, free: 50.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/13.23, allocations: 3.594 kB / 4.33 GB, free: 50.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/13.23, allocations: 15.3 kB / 4.33 GB, free: 50.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/13.23, allocations: 103 kB / 4.331 GB, free: 50.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/13.23, allocations: 18.97 kB / 4.331 GB, free: 50.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/13.23, allocations: 62 kB / 4.331 GB, free: 50.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/13.23, allocations: 19.09 kB / 4.331 GB, free: 50.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003145/13.23, allocations: 192.7 kB / 4.331 GB, free: 50.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/13.23, allocations: 37.5 kB / 4.331 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/13.23, allocations: 442.8 kB / 4.331 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/13.23, allocations: 3.562 kB / 4.331 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/13.23, allocations: 0 / 4.331 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/13.23, allocations: 3.938 kB / 4.331 GB, free: 50.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/13.23, allocations: 1.052 MB / 4.332 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/13.23, allocations: 0 / 4.332 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/13.23, allocations: 52.36 kB / 4.332 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/13.23, allocations: 3.75 kB / 4.332 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/13.23, allocations: 7.938 kB / 4.332 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/13.23, allocations: 3.469 kB / 4.332 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/13.23, allocations: 3.969 kB / 4.332 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/13.23, allocations: 0.6432 MB / 4.333 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/13.23, allocations: 119.4 kB / 4.333 GB, free: 48.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/13.23, allocations: 7.844 kB / 4.333 GB, free: 48.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/13.23, allocations: 30.66 kB / 4.333 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/13.23, allocations: 29.47 kB / 4.333 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/13.23, allocations: 7.781 kB / 4.333 GB, free: 48.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004221/13.24, allocations: 264.5 kB / 4.333 GB, free: 48.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/13.24, allocations: 0 / 4.333 GB, free: 48.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002208/13.24, allocations: 465.1 kB / 4.334 GB, free: 48.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 24 * 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.004242/13.24, allocations: 2.861 MB / 4.337 GB, free: 46.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/13.24, allocations: 423.1 kB / 4.337 GB, free: 46.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/13.24, allocations: 1.844 kB / 4.337 GB, free: 46.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/13.24, allocations: 112.1 kB / 4.337 GB, free: 46.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/13.24, allocations: 159 kB / 4.337 GB, free: 46.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/13.25, allocations: 5.572 MB / 4.343 GB, free: 41.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/13.25, allocations: 0.8476 MB / 4.344 GB, free: 40.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000714/13.25, allocations: 93.03 kB / 4.344 GB, free: 40.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/13.25, allocations: 139.9 kB / 4.344 GB, free: 40.47 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/13.25, allocations: 0 / 4.344 GB, free: 40.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06645/13.32, allocations: 27.45 MB / 4.371 GB, free: 24.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/13.32, allocations: 232.2 kB / 4.371 GB, free: 24.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.982/17.3, allocations: 0 / 4.371 GB, free: 24.47 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat