Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexFunctions",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.009599/0.009599, allocations: 175.5 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 2.032/2.032, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.002055/0.002055, allocations: 108.7 kB / 255.6 MB, free: 10.43 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.3023/0.3023, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004673, allocations: 14.31 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 54.87 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5894, allocations: 83.89 MB / 0.5322 GB, free: 26.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5897, allocations: 62.59 kB / 0.5323 GB, free: 26.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04505/0.6347, allocations: 9.907 MB / 0.542 GB, free: 25.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6348, allocations: 3.938 kB / 0.542 GB, free: 25.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.6348, allocations: 1.375 kB / 0.542 GB, free: 25.32 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.0006803/0.6355, allocations: 480.4 kB / 0.5424 GB, free: 24.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6355, allocations: 9.625 kB / 0.5424 GB, free: 24.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.6356, allocations: 31.94 kB / 0.5425 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.6356, allocations: 5.781 kB / 0.5425 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/0.6357, allocations: 159.1 kB / 0.5426 GB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.6357, allocations: 5.375 kB / 0.5426 GB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6357, allocations: 7.984 kB / 0.5426 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.6358, allocations: 34.31 kB / 0.5427 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6359, allocations: 0 / 0.5427 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.6359, allocations: 1.375 kB / 0.5427 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6359, allocations: 3.953 kB / 0.5427 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.6359, allocations: 4.875 kB / 0.5427 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.636, allocations: 145.2 kB / 0.5428 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.6361, allocations: 15.95 kB / 0.5428 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.6361, allocations: 5.375 kB / 0.5428 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.6361, allocations: 68.53 kB / 0.5429 GB, free: 24.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.6362, allocations: 0 / 0.5429 GB, free: 24.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.6363, allocations: 58.28 kB / 0.543 GB, free: 24.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6364, allocations: 80.12 kB / 0.543 GB, free: 24.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.61e-05/0.6364, allocations: 85 kB / 0.5431 GB, free: 24.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.6364, allocations: 25.7 kB / 0.5432 GB, free: 24.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.6364, allocations: 85.64 kB / 0.5432 GB, free: 23.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.6365, allocations: 0 / 0.5432 GB, free: 23.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.6365, allocations: 0 / 0.5432 GB, free: 23.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.6365, allocations: 321.3 kB / 0.5435 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.6366, allocations: 0 / 0.5435 GB, free: 23.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.6366, allocations: 5.312 kB / 0.5435 GB, free: 23.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.6366, allocations: 32.39 kB / 0.5436 GB, free: 23.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6366, allocations: 0 / 0.5436 GB, free: 23.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.6368, allocations: 59.97 kB / 0.5436 GB, free: 23.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6368, allocations: 37.12 kB / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6368, allocations: 0 / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6368, allocations: 0 / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.6369, allocations: 1.375 kB / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6369, allocations: 0 / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.6369, allocations: 0 / 0.5437 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.6369, allocations: 1.375 kB / 0.5437 GB, free: 23.47 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.086e-05/0.637, allocations: 143.7 kB / 0.5438 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.637, allocations: 0 / 0.5438 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.637, allocations: 14.28 kB / 0.5438 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.637, allocations: 3.938 kB / 0.5438 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6371, allocations: 0 / 0.5438 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6371, allocations: 1.375 kB / 0.5438 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.933e-05/0.6371, allocations: 148.8 kB / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6372, allocations: 0 / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.6372, allocations: 0 / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.6372, allocations: 1.375 kB / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6372, allocations: 1.734 kB / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6372, allocations: 5.312 kB / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6372, allocations: 4 kB / 0.544 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.6373, allocations: 94.95 kB / 0.5441 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.6374, allocations: 79.03 kB / 0.5441 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.6374, allocations: 1.375 kB / 0.5441 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.6374, allocations: 0 / 0.5441 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.6374, allocations: 4.688 kB / 0.5442 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.6374, allocations: 2.969 kB / 0.5442 GB, free: 22.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.823e-05/0.6375, allocations: 79.31 kB / 0.5442 GB, free: 22.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6375, allocations: 0 / 0.5442 GB, free: 22.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009871/0.6385, allocations: 174.6 kB / 0.5444 GB, free: 22.79 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.001305/0.6398, allocations: 0.937 MB / 0.5453 GB, free: 22.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.6399, allocations: 57.5 kB / 0.5454 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6399, allocations: 1.281 kB / 0.5454 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.64, allocations: 53.88 kB / 0.5454 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.6401, allocations: 9.219 kB / 0.5454 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.6406, allocations: 200.6 kB / 0.5456 GB, free: 21.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.6407, allocations: 0.6733 MB / 0.5463 GB, free: 21.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.456e-06/0.6408, allocations: 5.062 kB / 0.5463 GB, free: 21.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.6408, allocations: 16.34 kB / 0.5463 GB, free: 21.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6408, allocations: 0 / 0.5463 GB, free: 21.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.6796, allocations: 4.805 MB / 0.551 GB, free: 20.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.6799, allocations: 230 kB / 0.5512 GB, free: 20.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.482, allocations: 0 / 0.5512 GB, free: 20.24 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat