Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000796/0.0007962, allocations: 91.16 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5032/0.5032, allocations: 43.47 MB / 358.6 MB, free: 51.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.24e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5771, allocations: 95.59 MB / 0.5662 GB, free: 10.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.5774, allocations: 70.05 kB / 0.5663 GB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03906/0.6164, allocations: 14.72 MB / 0.5807 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6165, allocations: 4 kB / 0.5807 GB, free: 13.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.739e-05/0.6166, allocations: 16 kB / 0.5807 GB, free: 13.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001894/0.6185, allocations: 0.957 MB / 0.5816 GB, free: 12.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6186, allocations: 12.03 kB / 0.5816 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.6187, allocations: 89.58 kB / 0.5817 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.6189, allocations: 90.88 kB / 0.5818 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.62, allocations: 0.5626 MB / 0.5824 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.62, allocations: 35.06 kB / 0.5824 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.6201, allocations: 55.62 kB / 0.5825 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.621, allocations: 0.5462 MB / 0.583 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6211, allocations: 10.56 kB / 0.583 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.6211, allocations: 15.75 kB / 0.583 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.6211, allocations: 15.95 kB / 0.583 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.6218, allocations: 372.7 kB / 0.5834 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.6256, allocations: 2.712 MB / 0.586 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.6264, allocations: 473.3 kB / 0.5865 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.6267, allocations: 202.2 kB / 0.5867 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.6268, allocations: 4 kB / 0.5867 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6268, allocations: 46.22 kB / 0.5867 GB, free: 8.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.276e-06/0.6268, allocations: 0 / 0.5867 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001413/0.6282, allocations: 0.8081 MB / 0.5875 GB, free: 7.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.6283, allocations: 134.9 kB / 0.5876 GB, free: 7.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.629, allocations: 0.5486 MB / 0.5882 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.6291, allocations: 37.11 kB / 0.5882 GB, free: 6.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.6293, allocations: 358.1 kB / 0.5886 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.6295, allocations: 170.1 kB / 0.5887 GB, free: 6.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.6295, allocations: 11 kB / 0.5887 GB, free: 6.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6297, allocations: 331.7 kB / 0.589 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.63, allocations: 203.8 kB / 0.5892 GB, free: 6.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.6305, allocations: 364.6 kB / 0.5896 GB, free: 5.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.6309, allocations: 254.1 kB / 0.5898 GB, free: 5.586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6309, allocations: 0 / 0.5898 GB, free: 5.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001078/0.632, allocations: 0.6777 MB / 0.5905 GB, free: 5.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008514/0.6329, allocations: 1.746 MB / 0.5922 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6329, allocations: 8 kB / 0.5922 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.6329, allocations: 8 kB / 0.5922 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.6336, allocations: 163.3 kB / 0.5924 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.6337, allocations: 11.98 kB / 0.5924 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.6343, allocations: 94.06 kB / 0.5925 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.6343, allocations: 30.48 kB / 0.5925 GB, free: 2.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.6343, allocations: 4 kB / 0.5925 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009078/0.6352, allocations: 0.577 MB / 0.5931 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6353, allocations: 4 kB / 0.5931 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.6353, allocations: 11.95 kB / 0.5931 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.6359, allocations: 158.5 kB / 0.5932 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6359, allocations: 11.98 kB / 0.5932 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.6365, allocations: 84.33 kB / 0.5933 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.6365, allocations: 23.23 kB / 0.5933 GB, free: 2.242 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002705/0.6368, allocations: 147.4 kB / 0.5935 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.637, allocations: 75.06 kB / 0.5936 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.6373, allocations: 88.52 kB / 0.5936 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6373, allocations: 7.953 kB / 0.5936 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6373, allocations: 4 kB / 0.5937 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6373, allocations: 3.984 kB / 0.5937 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.6385, allocations: 0.817 MB / 0.5945 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6385, allocations: 4 kB / 0.5945 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.6392, allocations: 115.2 kB / 0.5946 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.6392, allocations: 7.953 kB / 0.5946 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.6393, allocations: 15.23 kB / 0.5946 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6393, allocations: 8 kB / 0.5946 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6393, allocations: 1.312 kB / 0.5946 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.6406, allocations: 0.9975 MB / 0.5956 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.6409, allocations: 196.6 kB / 0.5958 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.641, allocations: 15.31 kB / 0.5958 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.6416, allocations: 59.34 kB / 0.5958 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6417, allocations: 50.73 kB / 0.5959 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.6417, allocations: 11.44 kB / 0.5959 GB, free: 32 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000539/0.6423, allocations: 435.2 kB / 0.5963 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6423, allocations: 0 / 0.5963 GB, free: 15.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008746/0.6432, allocations: 196.7 kB / 0.5965 GB, free: 15.54 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.001981/0.6452, allocations: 1.688 MB / 0.5981 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.6467, allocations: 0.8136 MB / 0.5989 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.6467, allocations: 3.438 kB / 0.5989 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.6471, allocations: 220 kB / 0.5992 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6481, allocations: 176.8 kB / 0.5993 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.6511, allocations: 1.381 MB / 0.6007 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.6517, allocations: 0.9715 MB / 0.6016 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007475/0.6525, allocations: 207.2 kB / 0.6018 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6528, allocations: 254.3 kB / 0.6021 GB, free: 10.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6528, allocations: 4 kB / 0.6021 GB, free: 10.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.6896, allocations: 14.67 MB / 0.6164 GB, free: 12.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.6899, allocations: 138.9 kB / 0.6165 GB, free: 11.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.409, allocations: 0 / 0.6165 GB, free: 11.8 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat