Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialState",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.01024/0.01024, 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 2.006/2.006, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.002004/0.002003, allocations: 112.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.2544/0.2544, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006477, allocations: 11.28 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1214, allocations: 54.87 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.6016, allocations: 90.05 MB / 0.5383 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.6019, allocations: 65.92 kB / 0.5383 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.7194, allocations: 26.31 MB / 0.564 GB, free: 18.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7195, allocations: 0 / 0.564 GB, free: 18.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.983e-05/0.7196, allocations: 23.62 kB / 0.564 GB, free: 18.31 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.003224/0.7228, allocations: 1.039 MB / 0.5651 GB, free: 17.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7229, allocations: 15.19 kB / 0.5651 GB, free: 17.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.723, allocations: 75.78 kB / 0.5651 GB, free: 17.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.7232, allocations: 85.52 kB / 0.5652 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.7248, allocations: 0.5406 MB / 0.5658 GB, free: 17.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.7248, allocations: 42.16 kB / 0.5658 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.725, allocations: 49.42 kB / 0.5658 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.7265, allocations: 0.5412 MB / 0.5664 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.7266, allocations: 3.906 kB / 0.5664 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.7266, allocations: 14.59 kB / 0.5664 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.7267, allocations: 15.78 kB / 0.5664 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.7283, allocations: 466.6 kB / 0.5668 GB, free: 16.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.7331, allocations: 1.976 MB / 0.5688 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.735, allocations: 0.5871 MB / 0.5693 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.7351, allocations: 3.844 kB / 0.5694 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.7352, allocations: 53.58 kB / 0.5694 GB, free: 15.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.296e-06/0.7352, allocations: 0 / 0.5694 GB, free: 15.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003872/0.7391, allocations: 1.154 MB / 0.5705 GB, free: 15.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.7392, allocations: 136 kB / 0.5707 GB, free: 14.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.7402, allocations: 0.5221 MB / 0.5712 GB, free: 14.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.7403, allocations: 36.08 kB / 0.5712 GB, free: 14.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.7406, allocations: 320.4 kB / 0.5715 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.7408, allocations: 173.2 kB / 0.5717 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.7408, allocations: 11.09 kB / 0.5717 GB, free: 14.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.741, allocations: 385.6 kB / 0.5721 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.742, allocations: 278.5 kB / 0.5723 GB, free: 13.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7431, allocations: 390.9 kB / 0.5727 GB, free: 13.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.7442, allocations: 306.2 kB / 0.573 GB, free: 13.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7442, allocations: 7.781 kB / 0.573 GB, free: 13.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002487/0.7467, allocations: 0.7772 MB / 0.5738 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.7469, allocations: 1.047 MB / 0.5748 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7469, allocations: 7.875 kB / 0.5748 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.747, allocations: 7.75 kB / 0.5748 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7482, allocations: 146.8 kB / 0.5749 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.7482, allocations: 7.891 kB / 0.5749 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.7492, allocations: 88.84 kB / 0.575 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.7493, allocations: 18.62 kB / 0.575 GB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.7493, allocations: 3.844 kB / 0.575 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002109/0.7514, allocations: 0.6617 MB / 0.5757 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7514, allocations: 3.875 kB / 0.5757 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.7514, allocations: 3.875 kB / 0.5757 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7525, allocations: 143.5 kB / 0.5758 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.7525, allocations: 11.83 kB / 0.5758 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.7535, allocations: 81.86 kB / 0.5759 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.7535, allocations: 22.58 kB / 0.5759 GB, free: 12.19 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.0004514/0.754, allocations: 279 kB / 0.5762 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.7542, allocations: 66.03 kB / 0.5763 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.7544, allocations: 83.95 kB / 0.5764 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.7544, allocations: 7.906 kB / 0.5764 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7545, allocations: 3.984 kB / 0.5764 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.7545, allocations: 0 / 0.5764 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.7561, allocations: 0.8259 MB / 0.5772 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7561, allocations: 3.906 kB / 0.5772 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.7574, allocations: 116.4 kB / 0.5773 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.7574, allocations: 0 / 0.5773 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.7575, allocations: 15.38 kB / 0.5773 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7575, allocations: 7.969 kB / 0.5773 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7575, allocations: 7.859 kB / 0.5773 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.7607, allocations: 1.197 MB / 0.5785 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.7612, allocations: 196.6 kB / 0.5787 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7614, allocations: 10.88 kB / 0.5787 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.7624, allocations: 73.75 kB / 0.5788 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.7625, allocations: 34.31 kB / 0.5788 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.7626, allocations: 23.05 kB / 0.5788 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009195/0.7635, allocations: 420.7 kB / 0.5792 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7636, allocations: 0 / 0.5792 GB, free: 10.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001099/0.7647, allocations: 198.5 kB / 0.5794 GB, free: 10.52 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.0036/0.7683, allocations: 1.907 MB / 0.5813 GB, free: 9.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.7717, allocations: 0.9619 MB / 0.5822 GB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.7718, allocations: 8.062 kB / 0.5822 GB, free: 9.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7729, allocations: 300 kB / 0.5825 GB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.7744, allocations: 152.3 kB / 0.5826 GB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.7863, allocations: 6.205 MB / 0.5887 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/0.7872, allocations: 0.9457 MB / 0.5896 GB, free: 20.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009263/0.7881, allocations: 145.5 kB / 0.5898 GB, free: 20.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.7886, allocations: 236.8 kB / 0.59 GB, free: 20.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7886, allocations: 0 / 0.59 GB, free: 20.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.8332, allocations: 12.55 MB / 0.6022 GB, free: 14.53 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.8335, allocations: 176 kB / 0.6024 GB, free: 14.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.76, allocations: 0 / 0.6024 GB, free: 14.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat