Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",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.00127/0.00127, allocations: 176.4 kB / 17.06 MB, free: 5.098 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.346/1.346, allocations: 223.2 MB / 241 MB, free: 11.91 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.0009/0.0009001, allocations: 99.86 kB / 292.1 MB, free: 10.93 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.3332/0.3332, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003257, allocations: 11.98 kB / 460 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 61.9 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5073, allocations: 97.01 MB / 0.6044 GB, free: 14.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5076, allocations: 75.94 kB / 0.6044 GB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08271/0.5903, allocations: 29.34 MB / 0.6331 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5904, allocations: 0 / 0.6331 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.552e-05/0.5904, allocations: 31.92 kB / 0.6331 GB, free: 0.582 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.002264/0.5927, allocations: 1.106 MB / 0.6342 GB, free: 15.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5928, allocations: 8.031 kB / 0.6342 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.5929, allocations: 86.52 kB / 0.6343 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.5931, allocations: 90.88 kB / 0.6344 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.5944, allocations: 0.5938 MB / 0.635 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.5945, allocations: 37 kB / 0.635 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.5946, allocations: 59.91 kB / 0.6351 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.5957, allocations: 0.6212 MB / 0.6357 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5957, allocations: 0 / 0.6357 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.5958, allocations: 24 kB / 0.6357 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.5958, allocations: 12 kB / 0.6357 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.5968, allocations: 480.7 kB / 0.6362 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003518/0.6003, allocations: 2.671 MB / 0.6388 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.6013, allocations: 0.5114 MB / 0.6393 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.6014, allocations: 16.23 kB / 0.6393 GB, free: 9.984 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6014, allocations: 38.8 kB / 0.6393 GB, free: 9.938 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.6014, allocations: 3.938 kB / 0.6393 GB, free: 9.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.002387/0.6038, allocations: 1.178 MB / 0.6405 GB, free: 8.746 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6039, allocations: 110.8 kB / 0.6406 GB, free: 8.613 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.6047, allocations: 0.5701 MB / 0.6411 GB, free: 8.035 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.6047, allocations: 33.7 kB / 0.6412 GB, free: 7.996 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.605, allocations: 360.7 kB / 0.6415 GB, free: 7.641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.6052, allocations: 181.4 kB / 0.6417 GB, free: 7.461 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.6052, allocations: 12 kB / 0.6417 GB, free: 7.449 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6053, allocations: 330 kB / 0.642 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.6059, allocations: 281.1 kB / 0.6423 GB, free: 6.844 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/0.6066, allocations: 427.5 kB / 0.6427 GB, free: 6.367 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.6073, allocations: 336.3 kB / 0.643 GB, free: 6.039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6073, allocations: 0 / 0.643 GB, free: 6.039 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001526/0.6088, allocations: 0.8281 MB / 0.6438 GB, free: 5.207 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006028/0.6094, allocations: 1.746 MB / 0.6455 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6095, allocations: 4 kB / 0.6455 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6095, allocations: 8 kB / 0.6455 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.6105, allocations: 207.8 kB / 0.6457 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.6105, allocations: 15.92 kB / 0.6457 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.611, allocations: 91.5 kB / 0.6458 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.6111, allocations: 27.98 kB / 0.6459 GB, free: 2.977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.6111, allocations: 4 kB / 0.6459 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/0.6124, allocations: 0.7257 MB / 0.6466 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6125, allocations: 4 kB / 0.6466 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.6125, allocations: 8 kB / 0.6466 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.6134, allocations: 203.9 kB / 0.6468 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6134, allocations: 11.94 kB / 0.6468 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.6139, allocations: 87.78 kB / 0.6469 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.6139, allocations: 28 kB / 0.6469 GB, free: 1.91 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0003204/0.6143, allocations: 285 kB / 0.6472 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.6144, allocations: 82.95 kB / 0.6472 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.6146, allocations: 86.91 kB / 0.6473 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6146, allocations: 4 kB / 0.6473 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6146, allocations: 4 kB / 0.6473 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.6146, allocations: 3.984 kB / 0.6473 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.6165, allocations: 1.261 MB / 0.6486 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6165, allocations: 3.938 kB / 0.6486 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.6172, allocations: 115.9 kB / 0.6487 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6172, allocations: 4.062 kB / 0.6487 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.6172, allocations: 16 kB / 0.6487 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6172, allocations: 7.938 kB / 0.6487 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6172, allocations: 0 / 0.6487 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.6192, allocations: 1.252 MB / 0.6499 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.6195, allocations: 200.2 kB / 0.6501 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.6196, allocations: 23.97 kB / 0.6502 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.6201, allocations: 59.94 kB / 0.6502 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6202, allocations: 39.94 kB / 0.6502 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.6203, allocations: 12 kB / 0.6503 GB, free: 14.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006154/0.6209, allocations: 459 kB / 0.6507 GB, free: 13.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6209, allocations: 0 / 0.6507 GB, free: 13.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008623/0.6218, allocations: 232 kB / 0.6509 GB, free: 13.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002524/0.6243, allocations: 2.113 MB / 0.653 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.6264, allocations: 1.026 MB / 0.654 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6264, allocations: 0 / 0.654 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.627, allocations: 301.8 kB / 0.6543 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.6279, allocations: 177.4 kB / 0.6544 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/0.6364, allocations: 7.724 MB / 0.662 GB, free: 2.062 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.6369, allocations: 0.9776 MB / 0.6629 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006231/0.6376, allocations: 156.9 kB / 0.6631 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.638, allocations: 251.4 kB / 0.6633 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/0.638, allocations: 0 / 0.6633 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.6667, allocations: 14.25 MB / 0.6772 GB, free: 2.613 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.667, allocations: 181.5 kB / 0.6774 GB, free: 2.371 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.886, allocations: 0 / 0.6774 GB, free: 2.371 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat