Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStrings",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.01/0.01, allocations: 175.9 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 2.126/2.126, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002055, allocations: 124.6 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.2518/0.2518, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 15.19 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1105, allocations: 54.87 MB / 461.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.2717, allocations: 82.71 MB / 0.5311 GB, free: 0.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.272, allocations: 59.97 kB / 0.5312 GB, free: 452 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3581/0.6302, allocations: 16.73 MB / 0.5475 GB, free: 77.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6302, allocations: 1.344 kB / 0.5475 GB, free: 77.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.6302, allocations: 0 / 0.5475 GB, free: 77.98 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.0009208/0.6312, allocations: 491.3 kB / 0.548 GB, free: 77.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6312, allocations: 8.062 kB / 0.548 GB, free: 77.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.6313, allocations: 36.02 kB / 0.548 GB, free: 77.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.6313, allocations: 0 / 0.548 GB, free: 77.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.3e-05/0.6314, allocations: 159.1 kB / 0.5482 GB, free: 77.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6314, allocations: 1.469 kB / 0.5482 GB, free: 77.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.6314, allocations: 5.312 kB / 0.5482 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/0.6315, allocations: 39.09 kB / 0.5482 GB, free: 77.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6315, allocations: 4 kB / 0.5482 GB, free: 77.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.6316, allocations: 5.609 kB / 0.5482 GB, free: 77.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6316, allocations: 0 / 0.5482 GB, free: 77.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.6316, allocations: 1.406 kB / 0.5482 GB, free: 77.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.6317, allocations: 147.4 kB / 0.5483 GB, free: 77.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.6318, allocations: 20.36 kB / 0.5484 GB, free: 76.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.6318, allocations: 0 / 0.5484 GB, free: 76.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.6318, allocations: 61.7 kB / 0.5484 GB, free: 76.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.6319, allocations: 0 / 0.5484 GB, free: 76.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001831/0.632, allocations: 70.47 kB / 0.5485 GB, free: 76.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.6321, allocations: 78.11 kB / 0.5486 GB, free: 76.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.219e-05/0.6321, allocations: 88.94 kB / 0.5487 GB, free: 76.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.6321, allocations: 26.67 kB / 0.5487 GB, free: 76.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.691e-05/0.6322, allocations: 88.2 kB / 0.5488 GB, free: 76.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.6322, allocations: 1.125 kB / 0.5488 GB, free: 76.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.6322, allocations: 0 / 0.5488 GB, free: 76.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.6323, allocations: 315.9 kB / 0.5491 GB, free: 76.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.6323, allocations: 0 / 0.5491 GB, free: 76.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-06/0.6323, allocations: 2.219 kB / 0.5491 GB, free: 76.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.6324, allocations: 26.8 kB / 0.5491 GB, free: 76.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6324, allocations: 0 / 0.5491 GB, free: 76.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.374e-05/0.6325, allocations: 71.27 kB / 0.5492 GB, free: 76.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.6325, allocations: 31.55 kB / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6325, allocations: 1.625 kB / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6325, allocations: 0 / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.6326, allocations: 0 / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6326, allocations: 3.953 kB / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.6326, allocations: 1.219 kB / 0.5492 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.6326, allocations: 1.438 kB / 0.5492 GB, free: 76.08 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.291e-05/0.6327, allocations: 140.9 kB / 0.5493 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.6327, allocations: 9.188 kB / 0.5493 GB, free: 75.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.6327, allocations: 7.078 kB / 0.5493 GB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6328, allocations: 1.031 kB / 0.5494 GB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6328, allocations: 0 / 0.5494 GB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6328, allocations: 5.391 kB / 0.5494 GB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/0.6329, allocations: 147 kB / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6329, allocations: 0 / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.6329, allocations: 0 / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6329, allocations: 1.906 kB / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6329, allocations: 0 / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6329, allocations: 0 / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6329, allocations: 4 kB / 0.5495 GB, free: 75.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.633, allocations: 98.06 kB / 0.5496 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.6331, allocations: 77.11 kB / 0.5497 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6331, allocations: 1.312 kB / 0.5497 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.6331, allocations: 1.375 kB / 0.5497 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.6331, allocations: 0 / 0.5497 GB, free: 75.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.6332, allocations: 4.969 kB / 0.5497 GB, free: 75.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.572e-05/0.6332, allocations: 79.31 kB / 0.5498 GB, free: 75.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6332, allocations: 0.9688 kB / 0.5498 GB, free: 75.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008578/0.6341, allocations: 140.3 kB / 0.5499 GB, free: 75.38 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.001647/0.6357, allocations: 0.9948 MB / 0.5509 GB, free: 74.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.6359, allocations: 59.09 kB / 0.5509 GB, free: 74.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6359, allocations: 0 / 0.5509 GB, free: 74.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.6359, allocations: 59.44 kB / 0.551 GB, free: 74.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.6361, allocations: 3.938 kB / 0.551 GB, free: 74.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.6367, allocations: 179.9 kB / 0.5511 GB, free: 74.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.6368, allocations: 0.677 MB / 0.5518 GB, free: 73.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.6368, allocations: 0 / 0.5518 GB, free: 73.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.6369, allocations: 11.41 kB / 0.5518 GB, free: 73.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6369, allocations: 0 / 0.5518 GB, free: 73.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.6608, allocations: 3.54 MB / 0.5553 GB, free: 70.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.6611, allocations: 200.6 kB / 0.5555 GB, free: 70.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.335, allocations: 3.938 kB / 0.5555 GB, free: 70.65 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat