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.0009906/0.0009905, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.357/1.357, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007965/0.0007966, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1826/0.1826, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3007/0.4044, allocations: 96.09 MB / 0.5727 GB, free: 3.777 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4047, allocations: 66.34 kB / 0.5727 GB, free: 3.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07765/0.4824, allocations: 28.09 MB / 0.6002 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4824, allocations: 4 kB / 0.6002 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.283e-05/0.4825, allocations: 23.92 kB / 0.6002 GB, free: 11.95 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.002427/0.485, allocations: 1.096 MB / 0.6013 GB, free: 10.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.485, allocations: 8.031 kB / 0.6013 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.4852, allocations: 89.64 kB / 0.6014 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.4854, allocations: 90.88 kB / 0.6014 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4867, allocations: 0.5852 MB / 0.602 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.4867, allocations: 35.69 kB / 0.6021 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4869, allocations: 62.33 kB / 0.6021 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.488, allocations: 0.6271 MB / 0.6027 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.488, allocations: 11.19 kB / 0.6027 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.488, allocations: 20.88 kB / 0.6028 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4881, allocations: 12 kB / 0.6028 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4891, allocations: 0.4963 MB / 0.6033 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.4929, allocations: 2.702 MB / 0.6059 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.494, allocations: 0.5903 MB / 0.6065 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.4941, allocations: 8 kB / 0.6065 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4941, allocations: 38.22 kB / 0.6065 GB, free: 6.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.4941, allocations: 3.938 kB / 0.6065 GB, free: 6.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002573/0.4967, allocations: 1.217 MB / 0.6077 GB, free: 5.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.4968, allocations: 132.5 kB / 0.6078 GB, free: 4.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009036/0.4977, allocations: 0.5701 MB / 0.6084 GB, free: 4.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.4978, allocations: 40.58 kB / 0.6084 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.4981, allocations: 354.9 kB / 0.6088 GB, free: 4.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.4982, allocations: 177.6 kB / 0.6089 GB, free: 4.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4983, allocations: 18.12 kB / 0.609 GB, free: 4.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4984, allocations: 325 kB / 0.6093 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.4991, allocations: 290.3 kB / 0.6095 GB, free: 3.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.4998, allocations: 449.9 kB / 0.61 GB, free: 3.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.5005, allocations: 336.9 kB / 0.6103 GB, free: 2.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5005, allocations: 4 kB / 0.6103 GB, free: 2.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00164/0.5021, allocations: 0.8337 MB / 0.6111 GB, free: 2.266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007331/0.5029, allocations: 1.749 MB / 0.6128 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5029, allocations: 4 kB / 0.6128 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.5029, allocations: 11.98 kB / 0.6128 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.5036, allocations: 162.9 kB / 0.613 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.5037, allocations: 11.94 kB / 0.613 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.5043, allocations: 105.8 kB / 0.6131 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.5043, allocations: 19.25 kB / 0.6131 GB, free: 128 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.5044, allocations: 4 kB / 0.6131 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/0.5058, allocations: 0.7182 MB / 0.6138 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5058, allocations: 4 kB / 0.6138 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5058, allocations: 8 kB / 0.6138 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.5064, allocations: 156.1 kB / 0.614 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.5064, allocations: 11.94 kB / 0.614 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.507, allocations: 85.19 kB / 0.6141 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.5071, allocations: 30.88 kB / 0.6141 GB, free: 15.32 MB / 426.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 () * Number of clocked 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.0003828/0.5075, allocations: 282.2 kB / 0.6144 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.5076, allocations: 83 kB / 0.6145 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.5078, allocations: 87.42 kB / 0.6145 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5078, allocations: 4 kB / 0.6145 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5079, allocations: 0 / 0.6145 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5079, allocations: 3.984 kB / 0.6145 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5091, allocations: 0.8453 MB / 0.6154 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5091, allocations: 4 kB / 0.6154 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.5098, allocations: 115.2 kB / 0.6155 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5098, allocations: 4 kB / 0.6155 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.5099, allocations: 17.56 kB / 0.6155 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5099, allocations: 4 kB / 0.6155 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5099, allocations: 3.938 kB / 0.6155 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.5118, allocations: 1.232 MB / 0.6167 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.5121, allocations: 203.5 kB / 0.6169 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.5122, allocations: 15.19 kB / 0.6169 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.5129, allocations: 60.94 kB / 0.617 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.513, allocations: 36.94 kB / 0.617 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.513, allocations: 26.75 kB / 0.617 GB, free: 12.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006562/0.5137, allocations: 457.6 kB / 0.6175 GB, free: 12.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5137, allocations: 4 kB / 0.6175 GB, free: 12.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008284/0.5145, allocations: 202.5 kB / 0.6177 GB, free: 12.22 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 () * Number of clocked 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.002328/0.5169, allocations: 1.928 MB / 0.6196 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.5189, allocations: 1.017 MB / 0.6205 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5189, allocations: 0 / 0.6205 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.5195, allocations: 307.4 kB / 0.6208 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.5203, allocations: 167.5 kB / 0.621 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008608/0.5289, allocations: 7.755 MB / 0.6286 GB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.5295, allocations: 0.9722 MB / 0.6295 GB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005571/0.5301, allocations: 152.8 kB / 0.6297 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.5304, allocations: 260.3 kB / 0.6299 GB, free: 0.75 MB / 426.7 MB Notification: Performance of SimCode: time 3.777e-06/0.5304, allocations: 0 / 0.6299 GB, free: 0.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5592, allocations: 13.54 MB / 0.6431 GB, free: 3.246 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000574/0.5598, allocations: 177.9 kB / 0.6433 GB, free: 3.004 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.708, allocations: 0 / 0.6433 GB, free: 3.004 MB / 442.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