Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.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.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStreams",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.01106/0.01106, allocations: 176.5 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 2.036/2.036, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002056/0.002056, allocations: 132.5 kB / 255.6 MB, free: 10.23 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.2557/0.2557, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004687, allocations: 11.23 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 54.88 MB / 461.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.2615, allocations: 80.01 MB / 0.5285 GB, free: 3.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.2618, allocations: 59.97 kB / 0.5285 GB, free: 3.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009659/0.2715, allocations: 2.304 MB / 0.5308 GB, free: 0.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2716, allocations: 0 / 0.5308 GB, free: 0.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2716, allocations: 0 / 0.5308 GB, free: 0.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003735/0.272, allocations: 371.8 kB / 0.5311 GB, free: 344 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.272, allocations: 8.031 kB / 0.5311 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.2721, allocations: 38.55 kB / 0.5312 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.2721, allocations: 3.953 kB / 0.5312 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2722, allocations: 163.1 kB / 0.5313 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2723, allocations: 7.938 kB / 0.5313 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2723, allocations: 0 / 0.5313 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.2724, allocations: 29.64 kB / 0.5314 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2724, allocations: 0 / 0.5314 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2725, allocations: 4 kB / 0.5314 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2725, allocations: 0 / 0.5314 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.2725, allocations: 3.953 kB / 0.5314 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/0.5792, allocations: 143.1 kB / 0.5315 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.5794, allocations: 23.84 kB / 0.5315 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.5794, allocations: 0 / 0.5315 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5795, allocations: 60.34 kB / 0.5316 GB, free: 82.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.136e-06/0.5795, allocations: 1.406 kB / 0.5316 GB, free: 82.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002505/0.5798, allocations: 62.69 kB / 0.5316 GB, free: 82.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.5798, allocations: 81.05 kB / 0.5317 GB, free: 82.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.911e-05/0.5799, allocations: 86.73 kB / 0.5318 GB, free: 82.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.5799, allocations: 25.7 kB / 0.5318 GB, free: 82.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.5799, allocations: 81.27 kB / 0.5319 GB, free: 82.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.58, allocations: 0.875 kB / 0.5319 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.58, allocations: 5.25 kB / 0.5319 GB, free: 82.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.5801, allocations: 314.8 kB / 0.5322 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.5801, allocations: 4.844 kB / 0.5322 GB, free: 81.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.5801, allocations: 1.406 kB / 0.5322 GB, free: 81.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.5802, allocations: 35.98 kB / 0.5323 GB, free: 81.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5802, allocations: 0 / 0.5323 GB, free: 81.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001265/0.5804, allocations: 61.55 kB / 0.5323 GB, free: 81.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.5804, allocations: 33.73 kB / 0.5323 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5805, allocations: 1.219 kB / 0.5323 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5805, allocations: 0 / 0.5323 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.5805, allocations: 0.6094 kB / 0.5323 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5805, allocations: 1.281 kB / 0.5324 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.5806, allocations: 0 / 0.5324 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.5806, allocations: 1.812 kB / 0.5324 GB, free: 81.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001065/0.5808, allocations: 144.2 kB / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.5808, allocations: 1.188 kB / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.5808, allocations: 9.453 kB / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5809, allocations: 0 / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5809, allocations: 1.125 kB / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5809, allocations: 0 / 0.5325 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.5811, allocations: 146.3 kB / 0.5326 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5811, allocations: 8.703 kB / 0.5326 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-06/0.5811, allocations: 0.7031 kB / 0.5326 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5811, allocations: 0 / 0.5326 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.5812, allocations: 1.438 kB / 0.5327 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.5812, allocations: 0.6562 kB / 0.5327 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5812, allocations: 1.5 kB / 0.5327 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.5814, allocations: 95.23 kB / 0.5327 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.5815, allocations: 85.09 kB / 0.5328 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.5815, allocations: 2.109 kB / 0.5328 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.5816, allocations: 2.219 kB / 0.5328 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.5816, allocations: 3.844 kB / 0.5328 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5817, allocations: 4.688 kB / 0.5328 GB, free: 81.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.341e-05/0.5817, allocations: 75.28 kB / 0.5329 GB, free: 81.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5817, allocations: 0.875 kB / 0.5329 GB, free: 81.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007086/0.5824, allocations: 37.73 kB / 0.5329 GB, free: 81.09 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.00144/0.5839, allocations: 0.8117 MB / 0.5337 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.5841, allocations: 60.84 kB / 0.5338 GB, free: 80.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.5841, allocations: 0 / 0.5338 GB, free: 80.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.5842, allocations: 59.75 kB / 0.5339 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.5844, allocations: 2.969 kB / 0.5339 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.5851, allocations: 127 kB / 0.534 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.5852, allocations: 0.6742 MB / 0.5346 GB, free: 79.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.063e-06/0.5853, allocations: 1.594 kB / 0.5346 GB, free: 79.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.5853, allocations: 10.84 kB / 0.5346 GB, free: 79.46 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5853, allocations: 0 / 0.5346 GB, free: 79.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.6054, allocations: 1.534 MB / 0.5361 GB, free: 79.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004203/0.6059, allocations: 202.3 kB / 0.5363 GB, free: 78.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/3.07, allocations: 0 / 0.5363 GB, free: 78.94 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat