Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous",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.01141/0.01141, allocations: 175.9 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.936/1.936, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002022/0.002022, allocations: 116.6 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.2535/0.2535, allocations: 40.01 MB / 340.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004831, allocations: 14.78 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09964, allocations: 54.87 MB / 461.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4916/0.5913, allocations: 89.65 MB / 0.5379 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5916, allocations: 66.83 kB / 0.5379 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06338/0.655, allocations: 13.77 MB / 0.5514 GB, free: 20.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6551, allocations: 0 / 0.5514 GB, free: 20.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.6552, allocations: 22.44 kB / 0.5514 GB, free: 20.68 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.00352/0.6587, allocations: 1.034 MB / 0.5524 GB, free: 20.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.6588, allocations: 11.72 kB / 0.5524 GB, free: 20.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.659, allocations: 79 kB / 0.5525 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.6593, allocations: 81.62 kB / 0.5526 GB, free: 19.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.661, allocations: 0.537 MB / 0.5531 GB, free: 19.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.6611, allocations: 39.59 kB / 0.5531 GB, free: 19.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.6612, allocations: 59.95 kB / 0.5532 GB, free: 19.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.6628, allocations: 0.5468 MB / 0.5537 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.6629, allocations: 0 / 0.5537 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.663, allocations: 17.94 kB / 0.5538 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.663, allocations: 11.5 kB / 0.5538 GB, free: 19.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.6648, allocations: 477.3 kB / 0.5542 GB, free: 19.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.67, allocations: 1.966 MB / 0.5561 GB, free: 18.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.6721, allocations: 0.5855 MB / 0.5567 GB, free: 18.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.6722, allocations: 3.875 kB / 0.5567 GB, free: 18.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6723, allocations: 42.03 kB / 0.5568 GB, free: 18.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.146e-06/0.6723, allocations: 0 / 0.5568 GB, free: 18.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004264/0.6766, allocations: 1.158 MB / 0.5579 GB, free: 18.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.6767, allocations: 140.4 kB / 0.558 GB, free: 18.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.6779, allocations: 0.5236 MB / 0.5585 GB, free: 18.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.678, allocations: 36.55 kB / 0.5586 GB, free: 18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.6783, allocations: 321.7 kB / 0.5589 GB, free: 17.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.6785, allocations: 167.5 kB / 0.559 GB, free: 17.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.6785, allocations: 11.38 kB / 0.559 GB, free: 17.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6787, allocations: 382.6 kB / 0.5594 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.6797, allocations: 281.9 kB / 0.5597 GB, free: 17.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.6809, allocations: 384.1 kB / 0.56 GB, free: 17.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.682, allocations: 313.6 kB / 0.5603 GB, free: 17.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.682, allocations: 0 / 0.5603 GB, free: 17.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002623/0.6846, allocations: 0.7725 MB / 0.5611 GB, free: 17.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.6849, allocations: 1.051 MB / 0.5621 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.685, allocations: 1.906 kB / 0.5621 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.685, allocations: 7.094 kB / 0.5621 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.6863, allocations: 160.8 kB / 0.5623 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.6863, allocations: 8.938 kB / 0.5623 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.6874, allocations: 96.44 kB / 0.5624 GB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.6875, allocations: 19.16 kB / 0.5624 GB, free: 16.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6875, allocations: 3.875 kB / 0.5624 GB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002187/0.6897, allocations: 0.6555 MB / 0.563 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.6897, allocations: 3.875 kB / 0.5631 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6897, allocations: 7.75 kB / 0.5631 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.6908, allocations: 143.3 kB / 0.5632 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6909, allocations: 7.625 kB / 0.5632 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6919, allocations: 88.75 kB / 0.5633 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.692, allocations: 18.84 kB / 0.5633 GB, free: 15.98 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 (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0005204/0.6925, allocations: 280.9 kB / 0.5636 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.6927, allocations: 65.44 kB / 0.5636 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.6929, allocations: 89.41 kB / 0.5637 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.6929, allocations: 7.734 kB / 0.5637 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.693, allocations: 4 kB / 0.5637 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.693, allocations: 3.75 kB / 0.5637 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.6947, allocations: 0.81 MB / 0.5645 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6947, allocations: 0 / 0.5645 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.696, allocations: 117 kB / 0.5646 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.696, allocations: 3.875 kB / 0.5646 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.6961, allocations: 17.38 kB / 0.5647 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6961, allocations: 3.875 kB / 0.5647 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6961, allocations: 0 / 0.5647 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.6995, allocations: 1.216 MB / 0.5658 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.7, allocations: 187.6 kB / 0.566 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.7002, allocations: 11.12 kB / 0.566 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7012, allocations: 68.12 kB / 0.5661 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7014, allocations: 39.09 kB / 0.5661 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.7014, allocations: 10.91 kB / 0.5662 GB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009666/0.7024, allocations: 429.1 kB / 0.5666 GB, free: 14.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7024, allocations: 0 / 0.5666 GB, free: 14.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001095/0.7035, allocations: 188.2 kB / 0.5667 GB, free: 14.77 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.003602/0.7071, allocations: 1.922 MB / 0.5686 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.7106, allocations: 0.9629 MB / 0.5696 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7106, allocations: 0 / 0.5696 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.7117, allocations: 299.9 kB / 0.5698 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7132, allocations: 151.8 kB / 0.57 GB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.7252, allocations: 6.202 MB / 0.576 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.7261, allocations: 0.951 MB / 0.577 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000993/0.7272, allocations: 147.1 kB / 0.5771 GB, free: 25.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.7277, allocations: 235 kB / 0.5773 GB, free: 25.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7277, allocations: 0 / 0.5773 GB, free: 25.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.7724, allocations: 12.55 MB / 0.5896 GB, free: 19.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.7728, allocations: 157.1 kB / 0.5897 GB, free: 19.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.652, allocations: 0 / 0.5897 GB, free: 19.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat