Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.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.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexOperations",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.009548/0.009548, allocations: 175.4 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.135/2.135, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001993/0.001993, allocations: 132.5 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.2744/0.2744, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 14.33 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 54.87 MB / 461.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5292/0.6518, allocations: 83.89 MB / 0.5322 GB, free: 25.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6521, allocations: 64.61 kB / 0.5323 GB, free: 25.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07082/0.723, allocations: 9.912 MB / 0.542 GB, free: 24.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.723, allocations: 1.375 kB / 0.542 GB, free: 24.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.7231, allocations: 0 / 0.542 GB, free: 24.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.0009593/0.7241, allocations: 483.9 kB / 0.5424 GB, free: 24.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/0.7242, allocations: 9.062 kB / 0.5425 GB, free: 24.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.7242, allocations: 30.56 kB / 0.5425 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.7243, allocations: 4.922 kB / 0.5425 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.7244, allocations: 164.7 kB / 0.5426 GB, free: 24.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7244, allocations: 0.8438 kB / 0.5426 GB, free: 24.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.7245, allocations: 1.062 kB / 0.5426 GB, free: 24.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7246, allocations: 33.48 kB / 0.5427 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7246, allocations: 0 / 0.5427 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.7247, allocations: 1.125 kB / 0.5427 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.7247, allocations: 3.953 kB / 0.5427 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.7247, allocations: 1.156 kB / 0.5427 GB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.7249, allocations: 153.6 kB / 0.5428 GB, free: 24.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.725, allocations: 15.89 kB / 0.5428 GB, free: 24.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.725, allocations: 0 / 0.5428 GB, free: 24.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.7251, allocations: 68.08 kB / 0.5429 GB, free: 23.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.525e-06/0.7251, allocations: 0.9688 kB / 0.5429 GB, free: 23.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000243/0.7254, allocations: 64.2 kB / 0.543 GB, free: 23.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.7254, allocations: 78.42 kB / 0.543 GB, free: 23.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.7255, allocations: 89.12 kB / 0.5431 GB, free: 23.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.7255, allocations: 25.7 kB / 0.5432 GB, free: 23.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.7256, allocations: 80.14 kB / 0.5432 GB, free: 23.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.7256, allocations: 1.25 kB / 0.5432 GB, free: 23.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.7256, allocations: 0 / 0.5432 GB, free: 23.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.7257, allocations: 317.8 kB / 0.5435 GB, free: 23.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.7258, allocations: 1.219 kB / 0.5435 GB, free: 23.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.7258, allocations: 5.312 kB / 0.5435 GB, free: 23.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.7259, allocations: 35.33 kB / 0.5436 GB, free: 23.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7259, allocations: 0 / 0.5436 GB, free: 23.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001196/0.726, allocations: 62.72 kB / 0.5436 GB, free: 23.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.7261, allocations: 33.14 kB / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7261, allocations: 1.312 kB / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7262, allocations: 0 / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.7262, allocations: 0 / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.7262, allocations: 1.375 kB / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.7263, allocations: 0 / 0.5437 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7263, allocations: 2.781 kB / 0.5437 GB, free: 23.13 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 0.0001011/0.7264, allocations: 141.1 kB / 0.5438 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.7264, allocations: 1.5 kB / 0.5438 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.7265, allocations: 9.516 kB / 0.5438 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.7265, allocations: 1.375 kB / 0.5438 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7265, allocations: 0 / 0.5438 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7265, allocations: 0 / 0.5438 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.7267, allocations: 157.5 kB / 0.544 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.7267, allocations: 0 / 0.544 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-06/0.7267, allocations: 0 / 0.544 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.7267, allocations: 5.719 kB / 0.544 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.7268, allocations: 0 / 0.544 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7268, allocations: 3.938 kB / 0.544 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7268, allocations: 0.9375 kB / 0.544 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.727, allocations: 94.05 kB / 0.5441 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.727, allocations: 77.11 kB / 0.5441 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.7271, allocations: 0.9688 kB / 0.5441 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.7271, allocations: 1.281 kB / 0.5441 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.7272, allocations: 9.844 kB / 0.5442 GB, free: 22.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.7272, allocations: 0.875 kB / 0.5442 GB, free: 22.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.7272, allocations: 75.28 kB / 0.5442 GB, free: 22.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.7272, allocations: 5.344 kB / 0.5442 GB, free: 22.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001476/0.7287, allocations: 183.1 kB / 0.5444 GB, free: 22.45 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.002098/0.7309, allocations: 0.9246 MB / 0.5453 GB, free: 21.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.7311, allocations: 59.22 kB / 0.5454 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7311, allocations: 5.125 kB / 0.5454 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.7312, allocations: 55.62 kB / 0.5454 GB, free: 21.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.7313, allocations: 1.938 kB / 0.5454 GB, free: 21.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.7322, allocations: 203.3 kB / 0.5456 GB, free: 21.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.7324, allocations: 0.6732 MB / 0.5463 GB, free: 20.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.7324, allocations: 7.938 kB / 0.5463 GB, free: 20.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.7325, allocations: 9.656 kB / 0.5463 GB, free: 20.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7325, allocations: 0 / 0.5463 GB, free: 20.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.7671, allocations: 4.822 MB / 0.551 GB, free: 20.13 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.7675, allocations: 217 kB / 0.5512 GB, free: 19.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.275, allocations: 0 / 0.5512 GB, free: 19.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat