Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestScalarFunctions",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.009944/0.009944, allocations: 174.2 kB / 15.12 MB, free: 5.984 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.995/1.995, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002048/0.002048, 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.2819/0.2819, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 11.47 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.2559, allocations: 80.69 MB / 0.5291 GB, free: 2.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.2563, allocations: 63.97 kB / 0.5292 GB, free: 2.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3258/0.5821, allocations: 6.328 MB / 0.5354 GB, free: 83.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5821, allocations: 3.188 kB / 0.5354 GB, free: 83.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.5822, allocations: 1.031 kB / 0.5354 GB, free: 83.19 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.0003253/0.5825, allocations: 374.7 kB / 0.5357 GB, free: 82.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5826, allocations: 8.719 kB / 0.5357 GB, free: 82.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.5826, allocations: 32.59 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.5827, allocations: 3.953 kB / 0.5358 GB, free: 82.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.5827, allocations: 166.5 kB / 0.5359 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.5828, allocations: 2.469 kB / 0.5359 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5828, allocations: 0.7969 kB / 0.5359 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.5829, allocations: 36.39 kB / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5829, allocations: 0 / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.5829, allocations: 0 / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5829, allocations: 2.797 kB / 0.536 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.583, allocations: 6.047 kB / 0.536 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.5831, allocations: 144.4 kB / 0.5361 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/0.5831, allocations: 18.72 kB / 0.5361 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.5831, allocations: 0 / 0.5361 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5832, allocations: 64.64 kB / 0.5362 GB, free: 82.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.5832, allocations: 0 / 0.5362 GB, free: 82.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.5834, allocations: 67.66 kB / 0.5362 GB, free: 82.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.5834, allocations: 78.58 kB / 0.5363 GB, free: 82.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.322e-05/0.5835, allocations: 89.55 kB / 0.5364 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5835, allocations: 27.17 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/0.5835, allocations: 80.14 kB / 0.5365 GB, free: 81.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.5835, allocations: 0 / 0.5365 GB, free: 81.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.5836, allocations: 4.125 kB / 0.5365 GB, free: 81.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.5836, allocations: 316.9 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.5836, allocations: 2.297 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.5837, allocations: 0 / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.5837, allocations: 35.28 kB / 0.5369 GB, free: 81.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5837, allocations: 1.594 kB / 0.5369 GB, free: 81.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.204e-05/0.5838, allocations: 59.48 kB / 0.5369 GB, free: 81.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.5838, allocations: 31.42 kB / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5838, allocations: 5.469 kB / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5839, allocations: 0 / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.5839, allocations: 0.5625 kB / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5839, allocations: 1.219 kB / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.5839, allocations: 0 / 0.5369 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5839, allocations: 6.031 kB / 0.537 GB, free: 81.41 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 6.962e-05/0.584, allocations: 137.6 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.584, allocations: 5.328 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.5841, allocations: 9.062 kB / 0.5371 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5841, allocations: 4 kB / 0.5371 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5841, allocations: 0 / 0.5371 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5841, allocations: 1.156 kB / 0.5371 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.571e-05/0.5842, allocations: 152 kB / 0.5372 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5842, allocations: 0 / 0.5372 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.5842, allocations: 0.9688 kB / 0.5372 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5842, allocations: 7.922 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5842, allocations: 2.203 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5842, allocations: 3.938 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5843, allocations: 1 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.5844, allocations: 95.27 kB / 0.5374 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.5844, allocations: 78.77 kB / 0.5374 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.5844, allocations: 1.609 kB / 0.5374 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.5844, allocations: 0 / 0.5374 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.5845, allocations: 1.641 kB / 0.5374 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5845, allocations: 5 kB / 0.5374 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.5845, allocations: 76.92 kB / 0.5375 GB, free: 80.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5845, allocations: 32 / 0.5375 GB, free: 80.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.5848, allocations: 15.5 kB / 0.5375 GB, free: 80.76 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.0004704/0.5853, allocations: 0.6408 MB / 0.5382 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.5854, allocations: 61.41 kB / 0.5382 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5854, allocations: 0 / 0.5382 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.5854, allocations: 56.23 kB / 0.5383 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.897e-05/0.5855, allocations: 1.031 kB / 0.5383 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.5859, allocations: 117.3 kB / 0.5384 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.586, allocations: 0.6741 MB / 0.539 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.586, allocations: 0 / 0.539 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.586, allocations: 12.59 kB / 0.539 GB, free: 79.16 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.586, allocations: 128 / 0.539 GB, free: 79.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/0.6514, allocations: 0.8278 MB / 0.5399 GB, free: 78.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/0.6518, allocations: 209.3 kB / 0.5401 GB, free: 78.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.011, allocations: 0 / 0.5401 GB, free: 78.71 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat