Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestReadFile",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.01375/0.01375, allocations: 174.7 kB / 15.12 MB, free: 6.051 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.065/2.065, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002057/0.002057, allocations: 108.7 kB / 255.6 MB, free: 11.2 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.2526/0.2526, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004885, allocations: 16.56 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.2943, allocations: 79.66 MB / 0.5281 GB, free: 3.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.2947, allocations: 63.97 kB / 0.5282 GB, free: 3.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007135/0.3018, allocations: 1.913 MB / 0.53 GB, free: 1.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3019, allocations: 0 / 0.53 GB, free: 1.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3019, allocations: 0 / 0.53 GB, free: 1.57 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.0003889/0.3023, allocations: 364.2 kB / 0.5304 GB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3024, allocations: 8.031 kB / 0.5304 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.3024, allocations: 42.5 kB / 0.5304 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.3025, allocations: 3.953 kB / 0.5304 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3026, allocations: 163 kB / 0.5306 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3026, allocations: 0 / 0.5306 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3026, allocations: 0 / 0.5306 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.3027, allocations: 33.69 kB / 0.5306 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3027, allocations: 0 / 0.5306 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3028, allocations: 0 / 0.5306 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3028, allocations: 0 / 0.5306 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.3028, allocations: 11.95 kB / 0.5306 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.303, allocations: 145.7 kB / 0.5308 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.303, allocations: 22.61 kB / 0.5308 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3031, allocations: 0 / 0.5308 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.3031, allocations: 65.41 kB / 0.5309 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.458e-06/0.3031, allocations: 3.984 kB / 0.5309 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001862/0.3033, allocations: 59.41 kB / 0.5309 GB, free: 488 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3034, allocations: 85.23 kB / 0.531 GB, free: 384 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.3035, allocations: 96.92 kB / 0.5311 GB, free: 280 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3035, allocations: 25.7 kB / 0.5311 GB, free: 248 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.3035, allocations: 80.14 kB / 0.5312 GB, free: 164 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.3036, allocations: 0 / 0.5312 GB, free: 164 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.3036, allocations: 0 / 0.5312 GB, free: 164 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.3247/0.6283, allocations: 314.3 kB / 0.5315 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.6284, allocations: 1.531 kB / 0.5315 GB, free: 82.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.6284, allocations: 1.5 kB / 0.5315 GB, free: 82.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.6285, allocations: 28.64 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6285, allocations: 0 / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001318/0.6286, allocations: 62.81 kB / 0.5316 GB, free: 82.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.6287, allocations: 30.7 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6287, allocations: 1.578 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.6287, allocations: 0.5625 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.6288, allocations: 2.312 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6288, allocations: 2.812 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.6288, allocations: 3.953 kB / 0.5316 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6288, allocations: 2.094 kB / 0.5316 GB, free: 82.39 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.397e-05/0.6289, allocations: 141.3 kB / 0.5318 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.6289, allocations: 2.344 kB / 0.5318 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.629, allocations: 8.484 kB / 0.5318 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.629, allocations: 1.312 kB / 0.5318 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.629, allocations: 0.6562 kB / 0.5318 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.629, allocations: 0 / 0.5318 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.559e-05/0.6291, allocations: 152.6 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6291, allocations: 3.312 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-06/0.6291, allocations: 0.5 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6291, allocations: 2.438 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.6291, allocations: 0.8438 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6291, allocations: 0.75 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6292, allocations: 1.062 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6293, allocations: 96.89 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.6293, allocations: 83.52 kB / 0.5321 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6294, allocations: 2.906 kB / 0.5321 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.6294, allocations: 0.7812 kB / 0.5321 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.6294, allocations: 4 kB / 0.5321 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.6294, allocations: 4.812 kB / 0.5321 GB, free: 81.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.6294, allocations: 76.81 kB / 0.5322 GB, free: 81.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6295, allocations: 224 / 0.5322 GB, free: 81.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.6298, allocations: 24.91 kB / 0.5322 GB, free: 81.78 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.0007848/0.6306, allocations: 0.7198 MB / 0.5329 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.6308, allocations: 58.97 kB / 0.533 GB, free: 81.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6308, allocations: 0 / 0.533 GB, free: 81.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.6309, allocations: 55.16 kB / 0.533 GB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.6313, allocations: 3.781 kB / 0.533 GB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.6319, allocations: 131.9 kB / 0.5332 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.6321, allocations: 0.6759 MB / 0.5338 GB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.6321, allocations: 0 / 0.5338 GB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.6322, allocations: 8.531 kB / 0.5338 GB, free: 80.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6322, allocations: 0 / 0.5338 GB, free: 80.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09045/0.7227, allocations: 1.217 MB / 0.535 GB, free: 79.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.723, allocations: 207.1 kB / 0.5352 GB, free: 79.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.325, allocations: 4 kB / 0.5352 GB, free: 79.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat