Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestFiles",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.0119/0.01191, allocations: 178.3 kB / 15.12 MB, free: 5.93 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.919/1.919, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002064/0.002063, allocations: 120.7 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.2392/0.2392, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 10.53 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.2772, allocations: 79.71 MB / 0.5282 GB, free: 3.402 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.2775, allocations: 59.97 kB / 0.5282 GB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.2879, allocations: 1.952 MB / 0.5301 GB, free: 1.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2879, allocations: 0 / 0.5301 GB, free: 1.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2879, allocations: 0 / 0.5301 GB, free: 1.387 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.0004309/0.2884, allocations: 366.3 kB / 0.5305 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2885, allocations: 8.031 kB / 0.5305 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.2885, allocations: 34.5 kB / 0.5305 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.2885, allocations: 7.938 kB / 0.5305 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2887, allocations: 159.1 kB / 0.5307 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2887, allocations: 4 kB / 0.5307 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2887, allocations: 4 kB / 0.5307 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.713e-05/0.2888, allocations: 25.7 kB / 0.5307 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2888, allocations: 3.938 kB / 0.5307 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2889, allocations: 3.938 kB / 0.5307 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2889, allocations: 4 kB / 0.5307 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.2889, allocations: 3.953 kB / 0.5307 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.2891, allocations: 149.7 kB / 0.5309 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.2892, allocations: 22.61 kB / 0.5309 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.2892, allocations: 0 / 0.5309 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.2893, allocations: 60.25 kB / 0.5309 GB, free: 376 kB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.2893, allocations: 0 / 0.5309 GB, free: 376 kB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.2895, allocations: 71.39 kB / 0.531 GB, free: 292 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.2896, allocations: 77.11 kB / 0.5311 GB, free: 196 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/0.2896, allocations: 85 kB / 0.5312 GB, free: 104 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2896, allocations: 29.83 kB / 0.5312 GB, free: 68 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.31/0.5997, allocations: 81.58 kB / 0.5313 GB, free: 82.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.5998, allocations: 0 / 0.5313 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5998, allocations: 0 / 0.5313 GB, free: 82.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.889e-05/0.5998, allocations: 315.5 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.5999, allocations: 0 / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.5999, allocations: 1.125 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.6, allocations: 29.39 kB / 0.5316 GB, free: 82.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6, allocations: 0 / 0.5316 GB, free: 82.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001093/0.6001, allocations: 64.8 kB / 0.5317 GB, free: 82.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.6001, allocations: 35.92 kB / 0.5317 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6002, allocations: 1.281 kB / 0.5317 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6002, allocations: 1.312 kB / 0.5317 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.6002, allocations: 0 / 0.5317 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.6002, allocations: 1.312 kB / 0.5317 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.6002, allocations: 7.234 kB / 0.5317 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.6003, allocations: 2.812 kB / 0.5317 GB, free: 82.21 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 7.04e-05/0.6003, allocations: 133.9 kB / 0.5318 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.6004, allocations: 1.438 kB / 0.5318 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.6004, allocations: 7.078 kB / 0.5318 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6004, allocations: 2.125 kB / 0.5318 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6004, allocations: 0 / 0.5318 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.6004, allocations: 2.406 kB / 0.5319 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.783e-05/0.6005, allocations: 151.5 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6005, allocations: 2.797 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/0.6005, allocations: 3.719 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6005, allocations: 0 / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.6006, allocations: 2.016 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6006, allocations: 3.938 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6006, allocations: 3.969 kB / 0.532 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.6007, allocations: 97.06 kB / 0.5321 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.6008, allocations: 81.97 kB / 0.5322 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.6008, allocations: 0 / 0.5322 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.6008, allocations: 0.9062 kB / 0.5322 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.6008, allocations: 2.125 kB / 0.5322 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.6009, allocations: 0.8438 kB / 0.5322 GB, free: 81.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.73e-05/0.6009, allocations: 78.53 kB / 0.5323 GB, free: 81.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6009, allocations: 0 / 0.5323 GB, free: 81.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.6013, allocations: 44.12 kB / 0.5323 GB, free: 81.61 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.0007299/0.602, allocations: 0.7505 MB / 0.533 GB, free: 80.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.899e-05/0.6021, allocations: 64.64 kB / 0.5331 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6022, allocations: 0 / 0.5331 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.6022, allocations: 59 kB / 0.5332 GB, free: 80.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.6023, allocations: 0.625 kB / 0.5332 GB, free: 80.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.6027, allocations: 131.9 kB / 0.5333 GB, free: 80.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.6028, allocations: 0.6758 MB / 0.5339 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.75e-06/0.6028, allocations: 0 / 0.5339 GB, free: 80.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.6029, allocations: 8.469 kB / 0.5339 GB, free: 80 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6029, allocations: 4.125 kB / 0.534 GB, free: 80 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.6264, allocations: 1.445 MB / 0.5354 GB, free: 79.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.6267, allocations: 203.6 kB / 0.5356 GB, free: 79.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.264, allocations: 0 / 0.5356 GB, free: 79.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat