Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008954, allocations: 99.39 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3661/0.3661, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003123, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 61.91 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4628, allocations: 96.92 MB / 0.6043 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4631, allocations: 71.94 kB / 0.6043 GB, free: 14.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08045/0.5436, allocations: 28 MB / 0.6317 GB, free: 2.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5436, allocations: 0 / 0.6317 GB, free: 2.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.5437, allocations: 20 kB / 0.6317 GB, free: 2.008 MB / 442.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.002256/0.546, allocations: 1.094 MB / 0.6328 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.546, allocations: 8.031 kB / 0.6328 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.5461, allocations: 90.47 kB / 0.6329 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.5463, allocations: 86.97 kB / 0.633 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5475, allocations: 0.5858 MB / 0.6335 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.5475, allocations: 41 kB / 0.6336 GB, free: 0 / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5476, allocations: 48.05 kB / 0.6336 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5488, allocations: 0.6291 MB / 0.6342 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5488, allocations: 3.938 kB / 0.6342 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.5489, allocations: 20 kB / 0.6343 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5489, allocations: 15.95 kB / 0.6343 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.55, allocations: 0.4929 MB / 0.6347 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.5537, allocations: 2.714 MB / 0.6374 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.5549, allocations: 0.5837 MB / 0.638 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.555, allocations: 11.94 kB / 0.638 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.555, allocations: 42.56 kB / 0.638 GB, free: 11.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.555, allocations: 3.938 kB / 0.638 GB, free: 11.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002522/0.5575, allocations: 1.21 MB / 0.6392 GB, free: 10.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.5576, allocations: 136.5 kB / 0.6393 GB, free: 9.859 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.5584, allocations: 0.5662 MB / 0.6399 GB, free: 9.285 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.5585, allocations: 33.7 kB / 0.6399 GB, free: 9.246 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.5588, allocations: 356.1 kB / 0.6403 GB, free: 8.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5589, allocations: 177.5 kB / 0.6404 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.559, allocations: 8 kB / 0.6404 GB, free: 8.707 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5591, allocations: 334 kB / 0.6408 GB, free: 8.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.5598, allocations: 285.1 kB / 0.641 GB, free: 8.094 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.5605, allocations: 449.2 kB / 0.6415 GB, free: 7.586 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.5612, allocations: 339.7 kB / 0.6418 GB, free: 7.258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5613, allocations: 0 / 0.6418 GB, free: 7.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001613/0.5629, allocations: 0.8377 MB / 0.6426 GB, free: 6.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000686/0.5636, allocations: 1.75 MB / 0.6443 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5636, allocations: 4 kB / 0.6443 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5636, allocations: 8 kB / 0.6443 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.5643, allocations: 159.8 kB / 0.6445 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.5643, allocations: 15.92 kB / 0.6445 GB, free: 4.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.5649, allocations: 91.62 kB / 0.6446 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.565, allocations: 24 kB / 0.6446 GB, free: 4.234 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.565, allocations: 4 kB / 0.6446 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/0.5665, allocations: 0.718 MB / 0.6453 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5665, allocations: 4 kB / 0.6453 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5665, allocations: 15.95 kB / 0.6453 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.5671, allocations: 152.3 kB / 0.6455 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5671, allocations: 11.94 kB / 0.6455 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.5677, allocations: 91.53 kB / 0.6456 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5677, allocations: 24 kB / 0.6456 GB, free: 3.219 MB / 458.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.000398/0.5681, allocations: 284.9 kB / 0.6459 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.5683, allocations: 71.16 kB / 0.6459 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5685, allocations: 90.17 kB / 0.646 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5685, allocations: 4 kB / 0.646 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5685, allocations: 0 / 0.646 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.5685, allocations: 7.984 kB / 0.646 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5699, allocations: 0.8492 MB / 0.6469 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5699, allocations: 0 / 0.6469 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.5706, allocations: 119.8 kB / 0.647 GB, free: 1.734 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5706, allocations: 4 kB / 0.647 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.5706, allocations: 8 kB / 0.647 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5707, allocations: 11.92 kB / 0.647 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5707, allocations: 0 / 0.647 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.5728, allocations: 1.238 MB / 0.6482 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.5731, allocations: 192.2 kB / 0.6484 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.5732, allocations: 23.98 kB / 0.6484 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.5738, allocations: 64.03 kB / 0.6485 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5739, allocations: 47.92 kB / 0.6485 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.5739, allocations: 12 kB / 0.6485 GB, free: 96 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006877/0.5746, allocations: 455 kB / 0.649 GB, free: 15.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5746, allocations: 0 / 0.649 GB, free: 15.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008237/0.5755, allocations: 200 kB / 0.6491 GB, free: 15.46 MB / 474.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.002635/0.5781, allocations: 1.936 MB / 0.651 GB, free: 13.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.5804, allocations: 1.025 MB / 0.652 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5804, allocations: 0 / 0.652 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000634/0.581, allocations: 295.8 kB / 0.6523 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008678/0.5819, allocations: 166.5 kB / 0.6525 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/0.5909, allocations: 7.748 MB / 0.66 GB, free: 4.059 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.5915, allocations: 0.9614 MB / 0.661 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.5921, allocations: 156.8 kB / 0.6611 GB, free: 2.918 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.5924, allocations: 263.3 kB / 0.6614 GB, free: 2.664 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5925, allocations: 0 / 0.6614 GB, free: 2.664 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.6208, allocations: 13.47 MB / 0.6745 GB, free: 5.395 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.621, allocations: 180.9 kB / 0.6747 GB, free: 5.148 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.731, allocations: 64 / 0.6747 GB, free: 5.148 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat