Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.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.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_SteadyState",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.01011/0.0101, allocations: 175.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 2.013/2.013, 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.001968/0.001968, allocations: 124.6 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.2524/0.2524, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004877, allocations: 11.59 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09984, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.62, allocations: 89.91 MB / 0.5381 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.6203, allocations: 67.3 kB / 0.5382 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0955/0.7159, allocations: 19.18 MB / 0.5569 GB, free: 20.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7159, allocations: 0 / 0.5569 GB, free: 20.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.422e-05/0.716, allocations: 19.62 kB / 0.5569 GB, free: 20.41 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003663/0.7197, allocations: 1.035 MB / 0.5579 GB, free: 19.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.7197, allocations: 11.47 kB / 0.558 GB, free: 19.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/0.72, allocations: 81.45 kB / 0.558 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.7203, allocations: 81.38 kB / 0.5581 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.7221, allocations: 0.5411 MB / 0.5586 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.7222, allocations: 38.52 kB / 0.5587 GB, free: 19.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7223, allocations: 53.47 kB / 0.5587 GB, free: 19.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.724, allocations: 0.5489 MB / 0.5593 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.724, allocations: 0 / 0.5593 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.7241, allocations: 17.84 kB / 0.5593 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.7241, allocations: 15.38 kB / 0.5593 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.726, allocations: 473.9 kB / 0.5598 GB, free: 19.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.7311, allocations: 1.928 MB / 0.5616 GB, free: 18.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.7332, allocations: 0.5747 MB / 0.5622 GB, free: 18.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.7334, allocations: 11.78 kB / 0.5622 GB, free: 18.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.7334, allocations: 41.3 kB / 0.5622 GB, free: 18.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.997e-06/0.7334, allocations: 3.984 kB / 0.5623 GB, free: 18.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004424/0.7378, allocations: 1.165 MB / 0.5634 GB, free: 18.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.738, allocations: 137.1 kB / 0.5635 GB, free: 17.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.7393, allocations: 0.5247 MB / 0.564 GB, free: 17.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.7396, allocations: 34.7 kB / 0.5641 GB, free: 17.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.7399, allocations: 330 kB / 0.5644 GB, free: 17.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.7401, allocations: 168.8 kB / 0.5645 GB, free: 17.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.7402, allocations: 9.938 kB / 0.5645 GB, free: 17.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7403, allocations: 382.2 kB / 0.5649 GB, free: 17.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.7415, allocations: 270.6 kB / 0.5652 GB, free: 17.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.7426, allocations: 380.7 kB / 0.5655 GB, free: 17.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7438, allocations: 302.7 kB / 0.5658 GB, free: 17.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.7438, allocations: 0 / 0.5658 GB, free: 17.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002868/0.7467, allocations: 0.8043 MB / 0.5666 GB, free: 16.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.7469, allocations: 1.056 MB / 0.5676 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.747, allocations: 3.938 kB / 0.5676 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.7473, allocations: 59.06 kB / 0.5677 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.7491, allocations: 195.2 kB / 0.5679 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.7507, allocations: 1.51 MB / 0.5694 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7519, allocations: 89.72 kB / 0.5694 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.752, allocations: 22.5 kB / 0.5695 GB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.752, allocations: 3.875 kB / 0.5695 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002381/0.7544, allocations: 0.6781 MB / 0.5701 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7545, allocations: 0 / 0.5701 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.7547, allocations: 59.78 kB / 0.5702 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.7563, allocations: 190.9 kB / 0.5704 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.7579, allocations: 1.502 MB / 0.5718 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.759, allocations: 90.22 kB / 0.5719 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.7591, allocations: 21.75 kB / 0.5719 GB, free: 12.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005107/0.7596, allocations: 271.7 kB / 0.5722 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.7599, allocations: 70.02 kB / 0.5723 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.7601, allocations: 84.59 kB / 0.5724 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.7601, allocations: 11.88 kB / 0.5724 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7601, allocations: 0 / 0.5724 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.7601, allocations: 3.984 kB / 0.5724 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.7618, allocations: 0.8104 MB / 0.5732 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7619, allocations: 3.984 kB / 0.5732 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.7631, allocations: 113.1 kB / 0.5733 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.7631, allocations: 7.812 kB / 0.5733 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.7632, allocations: 22.55 kB / 0.5733 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.7632, allocations: 3.875 kB / 0.5733 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7632, allocations: 0 / 0.5733 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.7666, allocations: 1.209 MB / 0.5745 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.767, allocations: 184 kB / 0.5747 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.7671, allocations: 15.08 kB / 0.5747 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7681, allocations: 65.88 kB / 0.5747 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.7683, allocations: 35 kB / 0.5748 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.7684, allocations: 15.62 kB / 0.5748 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009845/0.7694, allocations: 428.2 kB / 0.5752 GB, free: 11.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7694, allocations: 0 / 0.5752 GB, free: 11.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001147/0.7705, allocations: 195.8 kB / 0.5754 GB, free: 11.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.003966/0.7745, allocations: 1.907 MB / 0.5772 GB, free: 25.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.7787, allocations: 1.192 MB / 0.5784 GB, free: 25.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7787, allocations: 4.062 kB / 0.5784 GB, free: 25.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.7798, allocations: 303.2 kB / 0.5787 GB, free: 25.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.7813, allocations: 158.8 kB / 0.5789 GB, free: 25.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.7936, allocations: 6.226 MB / 0.5849 GB, free: 21.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.7943, allocations: 0.9516 MB / 0.5859 GB, free: 20.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009234/0.7952, allocations: 130.6 kB / 0.586 GB, free: 20.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.7957, allocations: 236.2 kB / 0.5862 GB, free: 20.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7957, allocations: 0 / 0.5862 GB, free: 20.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/0.8509, allocations: 13.44 MB / 0.5993 GB, free: 14.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.8512, allocations: 188.8 kB / 0.5995 GB, free: 14.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/3.904, allocations: 0 / 0.5995 GB, free: 14.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat