Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.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.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestBooleanFunctions",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.01118/0.01118, allocations: 175.2 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 1.979/1.979, 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.00201/0.00201, allocations: 116.7 kB / 255.6 MB, free: 11.21 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.2519/0.2519, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006376, allocations: 13.91 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1192, allocations: 54.87 MB / 461.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.284, allocations: 80.1 MB / 0.5285 GB, free: 3.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.2843, allocations: 59.97 kB / 0.5286 GB, free: 3.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009502/0.2938, allocations: 2.178 MB / 0.5307 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2939, allocations: 0 / 0.5307 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2939, allocations: 0 / 0.5307 GB, free: 0.8828 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.0004729/0.2944, allocations: 373.1 kB / 0.5311 GB, free: 476 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2945, allocations: 8.031 kB / 0.5311 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.2945, allocations: 30.56 kB / 0.5311 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2945, allocations: 3.953 kB / 0.5311 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2947, allocations: 163 kB / 0.5313 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2947, allocations: 4 kB / 0.5313 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2947, allocations: 0 / 0.5313 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.2948, allocations: 37.62 kB / 0.5313 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2948, allocations: 3.984 kB / 0.5313 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2949, allocations: 4 kB / 0.5313 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2949, allocations: 3.953 kB / 0.5313 GB, free: 160 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.2949, allocations: 0 / 0.5313 GB, free: 160 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2935/0.5885, allocations: 145.7 kB / 0.5315 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.5886, allocations: 16.27 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.5886, allocations: 0.6875 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5887, allocations: 59.86 kB / 0.5315 GB, free: 82.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 4.087e-06/0.5887, allocations: 0 / 0.5315 GB, free: 82.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002126/0.5889, allocations: 73.19 kB / 0.5316 GB, free: 82.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.589, allocations: 77.11 kB / 0.5317 GB, free: 82.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.181e-05/0.589, allocations: 87.25 kB / 0.5318 GB, free: 82.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.589, allocations: 28.67 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.589, allocations: 80.14 kB / 0.5319 GB, free: 82.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5891, allocations: 1.375 kB / 0.5319 GB, free: 82.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5891, allocations: 0.875 kB / 0.5319 GB, free: 82.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.5892, allocations: 317.7 kB / 0.5322 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.5892, allocations: 5.766 kB / 0.5322 GB, free: 81.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.5892, allocations: 3.719 kB / 0.5322 GB, free: 81.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.5892, allocations: 27.55 kB / 0.5322 GB, free: 81.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5892, allocations: 0 / 0.5322 GB, free: 81.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.342e-05/0.5893, allocations: 65.16 kB / 0.5323 GB, free: 81.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.5894, allocations: 32.77 kB / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5894, allocations: 3.75 kB / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5894, allocations: 0 / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.524e-06/0.5894, allocations: 1.094 kB / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5894, allocations: 0 / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.5895, allocations: 1.156 kB / 0.5323 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5895, allocations: 0 / 0.5323 GB, free: 81.62 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.926e-05/0.5896, allocations: 144.3 kB / 0.5325 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.5896, allocations: 2.891 kB / 0.5325 GB, free: 81.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.343e-05/0.5896, allocations: 10.52 kB / 0.5325 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5896, allocations: 1.172 kB / 0.5325 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5896, allocations: 1.438 kB / 0.5325 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5896, allocations: 0 / 0.5325 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.5897, allocations: 149.8 kB / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5897, allocations: 1.5 kB / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.5897, allocations: 0 / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5898, allocations: 2.312 kB / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5898, allocations: 1.562 kB / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5898, allocations: 5.406 kB / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5898, allocations: 0 / 0.5326 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.5899, allocations: 93.03 kB / 0.5327 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.5899, allocations: 82.28 kB / 0.5328 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.59, allocations: 5.25 kB / 0.5328 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.59, allocations: 2 kB / 0.5328 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.59, allocations: 0 / 0.5328 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.59, allocations: 5.344 kB / 0.5328 GB, free: 81.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.59, allocations: 75.28 kB / 0.5329 GB, free: 81 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5901, allocations: 3.391 kB / 0.5329 GB, free: 81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.5905, allocations: 54.56 kB / 0.5329 GB, free: 81 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.0007484/0.5913, allocations: 0.7262 MB / 0.5336 GB, free: 80.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.861e-05/0.5914, allocations: 59.56 kB / 0.5337 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5914, allocations: 0 / 0.5337 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.5914, allocations: 58.64 kB / 0.5337 GB, free: 80.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.5915, allocations: 1.031 kB / 0.5338 GB, free: 80.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.5919, allocations: 138.1 kB / 0.5339 GB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.5921, allocations: 0.6753 MB / 0.5345 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.5921, allocations: 0 / 0.5345 GB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.5921, allocations: 10.34 kB / 0.5346 GB, free: 79.4 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5921, allocations: 3.938 kB / 0.5346 GB, free: 79.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.6164, allocations: 2.362 MB / 0.5369 GB, free: 79.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.6167, allocations: 213.4 kB / 0.5371 GB, free: 78.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.052, allocations: 0 / 0.5371 GB, free: 78.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat