Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",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.001692/0.001692, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.0007798, allocations: 94.2 kB / 261.8 MB, free: 1.668 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.2218/0.2218, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.234e-05, allocations: 7.984 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.573, allocations: 95.33 MB / 0.5591 GB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5733, allocations: 69.88 kB / 0.5592 GB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08262/0.656, allocations: 27.84 MB / 0.5864 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.656, allocations: 0 / 0.5864 GB, free: 8.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.595e-05/0.6561, allocations: 23.94 kB / 0.5864 GB, free: 8.613 MB / 394.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.002058/0.6582, allocations: 0.9575 MB / 0.5873 GB, free: 7.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.6583, allocations: 8.031 kB / 0.5873 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.6585, allocations: 98.91 kB / 0.5874 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.6598, allocations: 0.5622 MB / 0.588 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.6599, allocations: 16 kB / 0.588 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.66, allocations: 35.91 kB / 0.588 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000728/0.6607, allocations: 329.7 kB / 0.5883 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.6616, allocations: 0.4934 MB / 0.5888 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.6616, allocations: 3.938 kB / 0.5888 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.6617, allocations: 4 kB / 0.5888 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.6617, allocations: 12 kB / 0.5888 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.6661, allocations: 2.617 MB / 0.5914 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.667, allocations: 448.4 kB / 0.5918 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.6673, allocations: 194.3 kB / 0.592 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.89e-05/0.6674, allocations: 11.89 kB / 0.592 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.6675, allocations: 42.39 kB / 0.5921 GB, free: 3.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.957e-06/0.6675, allocations: 4 kB / 0.5921 GB, free: 3.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001474/0.669, allocations: 0.7639 MB / 0.5928 GB, free: 2.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.6691, allocations: 132.5 kB / 0.5929 GB, free: 2.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.6697, allocations: 0.4895 MB / 0.5934 GB, free: 2.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.6697, allocations: 25.7 kB / 0.5934 GB, free: 2.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.67, allocations: 361.6 kB / 0.5938 GB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.6702, allocations: 164.4 kB / 0.5939 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.6702, allocations: 0 / 0.5939 GB, free: 1.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6704, allocations: 385.5 kB / 0.5943 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.6708, allocations: 200.9 kB / 0.5945 GB, free: 1.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.6712, allocations: 347.6 kB / 0.5948 GB, free: 1.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.6716, allocations: 239.7 kB / 0.5951 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6716, allocations: 0 / 0.5951 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009822/0.6726, allocations: 0.6197 MB / 0.5957 GB, free: 392 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007982/0.6734, allocations: 1.753 MB / 0.5974 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6734, allocations: 4 kB / 0.5974 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6735, allocations: 8 kB / 0.5974 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.6742, allocations: 163.2 kB / 0.5976 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.6742, allocations: 8 kB / 0.5976 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.6749, allocations: 79.62 kB / 0.5976 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.675, allocations: 27.06 kB / 0.5977 GB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.675, allocations: 0 / 0.5977 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008374/0.6758, allocations: 0.5108 MB / 0.5982 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6758, allocations: 4 kB / 0.5982 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6758, allocations: 8 kB / 0.5982 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.6765, allocations: 166.8 kB / 0.5983 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6765, allocations: 8 kB / 0.5983 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.677, allocations: 83.5 kB / 0.5984 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6771, allocations: 25.56 kB / 0.5984 GB, free: 13.6 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.000148/0.6772, allocations: 112.9 kB / 0.5986 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007592/0.678, allocations: 457.9 kB / 0.599 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6781, allocations: 71.11 kB / 0.5991 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.6784, allocations: 81.09 kB / 0.5991 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.6784, allocations: 4 kB / 0.5991 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6784, allocations: 0 / 0.5991 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.6784, allocations: 3.984 kB / 0.5991 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.6796, allocations: 0.7546 MB / 0.5999 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6797, allocations: 4 kB / 0.5999 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.6804, allocations: 114.9 kB / 0.6 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6804, allocations: 8 kB / 0.6 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.6804, allocations: 6.875 kB / 0.6 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6805, allocations: 0 / 0.6 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6805, allocations: 7.938 kB / 0.6 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.6819, allocations: 0.9575 MB / 0.6009 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.6822, allocations: 203.2 kB / 0.6011 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.6823, allocations: 4 kB / 0.6011 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.683, allocations: 59.94 kB / 0.6012 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6831, allocations: 38.88 kB / 0.6012 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.6832, allocations: 11.75 kB / 0.6013 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005807/0.6838, allocations: 386.3 kB / 0.6016 GB, free: 10.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6838, allocations: 0 / 0.6016 GB, free: 10.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009954/0.6848, allocations: 172 kB / 0.6018 GB, free: 10.71 MB / 410.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.001752/0.6865, allocations: 1.652 MB / 0.6034 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.6881, allocations: 0.7639 MB / 0.6041 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6882, allocations: 0 / 0.6041 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.6886, allocations: 214.3 kB / 0.6043 GB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6897, allocations: 164.9 kB / 0.6045 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.693, allocations: 1.338 MB / 0.6058 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.6936, allocations: 0.9695 MB / 0.6068 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009054/0.6945, allocations: 195.1 kB / 0.6069 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.6949, allocations: 251.9 kB / 0.6072 GB, free: 5.914 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6949, allocations: 0 / 0.6072 GB, free: 5.914 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.7312, allocations: 13.5 MB / 0.6204 GB, free: 8.445 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.7315, allocations: 137.7 kB / 0.6205 GB, free: 8.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.177, allocations: 0 / 0.6205 GB, free: 8.25 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat