Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008622/0.0008622, allocations: 88.12 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.719e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.5042, allocations: 98.03 MB / 0.6072 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.5045, allocations: 66.34 kB / 0.6073 GB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08601/0.5905, allocations: 29.3 MB / 0.6359 GB, free: 3.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5906, allocations: 0 / 0.6359 GB, free: 3.117 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001391/0.5907, allocations: 23.94 kB / 0.6359 GB, free: 3.094 MB / 426.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.002387/0.5931, allocations: 0.9649 MB / 0.6368 GB, free: 2.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.5932, allocations: 11.97 kB / 0.6369 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.5934, allocations: 84.64 kB / 0.6369 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.5939, allocations: 106.9 kB / 0.637 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.5953, allocations: 0.581 MB / 0.6376 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.5954, allocations: 42.12 kB / 0.6376 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.5955, allocations: 56.72 kB / 0.6377 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5966, allocations: 0.5391 MB / 0.6382 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.5967, allocations: 11.94 kB / 0.6382 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.5967, allocations: 17.88 kB / 0.6382 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5967, allocations: 12 kB / 0.6383 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006698/0.5974, allocations: 367.3 kB / 0.6386 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.6014, allocations: 2.674 MB / 0.6412 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.6021, allocations: 431.3 kB / 0.6416 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.6024, allocations: 212.7 kB / 0.6418 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.6025, allocations: 8.234 kB / 0.6418 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.6025, allocations: 38.42 kB / 0.6419 GB, free: 13.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/0.6025, allocations: 0 / 0.6419 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001499/0.6041, allocations: 0.8094 MB / 0.6427 GB, free: 13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.6041, allocations: 110.9 kB / 0.6428 GB, free: 12.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.6048, allocations: 0.54 MB / 0.6433 GB, free: 12.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.6049, allocations: 33.39 kB / 0.6433 GB, free: 12.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.6051, allocations: 357.7 kB / 0.6437 GB, free: 12.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6053, allocations: 180.5 kB / 0.6438 GB, free: 12.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.6054, allocations: 7.625 kB / 0.6439 GB, free: 12.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6055, allocations: 341.4 kB / 0.6442 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.6059, allocations: 202.3 kB / 0.6444 GB, free: 11.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.6063, allocations: 357.2 kB / 0.6447 GB, free: 11.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.6067, allocations: 261.5 kB / 0.645 GB, free: 11.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6068, allocations: 0 / 0.645 GB, free: 11.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00108/0.6078, allocations: 0.6815 MB / 0.6456 GB, free: 10.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006095/0.6085, allocations: 1.742 MB / 0.6473 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6085, allocations: 4 kB / 0.6473 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.6085, allocations: 8 kB / 0.6473 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6096, allocations: 214.5 kB / 0.6475 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.6096, allocations: 8 kB / 0.6476 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.6102, allocations: 88.66 kB / 0.6476 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.6103, allocations: 23.5 kB / 0.6477 GB, free: 8.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6103, allocations: 5.094 kB / 0.6477 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009171/0.6112, allocations: 0.5933 MB / 0.6482 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6112, allocations: 7.938 kB / 0.6483 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6112, allocations: 15.92 kB / 0.6483 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.6122, allocations: 201.9 kB / 0.6485 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.6122, allocations: 8 kB / 0.6485 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.6127, allocations: 92.94 kB / 0.6486 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.6128, allocations: 27 kB / 0.6486 GB, free: 7.617 MB / 442.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 (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.000159/0.613, allocations: 140.5 kB / 0.6487 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.6132, allocations: 75.06 kB / 0.6488 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.6134, allocations: 94.58 kB / 0.6489 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.6134, allocations: 4 kB / 0.6489 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.6134, allocations: 4 kB / 0.6489 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.6135, allocations: 4 kB / 0.6489 GB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.6152, allocations: 1.197 MB / 0.6501 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6152, allocations: 3.938 kB / 0.6501 GB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.6159, allocations: 114.9 kB / 0.6502 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6159, allocations: 7.984 kB / 0.6502 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.616, allocations: 11 kB / 0.6502 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.616, allocations: 4 kB / 0.6502 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.616, allocations: 3.953 kB / 0.6502 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.6173, allocations: 1.027 MB / 0.6512 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.6176, allocations: 204 kB / 0.6514 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6177, allocations: 16.5 kB / 0.6514 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.6183, allocations: 58.88 kB / 0.6515 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.6184, allocations: 39.5 kB / 0.6515 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.6184, allocations: 14.88 kB / 0.6515 GB, free: 5.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005289/0.619, allocations: 433.8 kB / 0.6519 GB, free: 4.738 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.619, allocations: 0 / 0.6519 GB, free: 4.738 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009645/0.6199, allocations: 229.1 kB / 0.6522 GB, free: 4.539 MB / 442.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 () * 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.002059/0.622, allocations: 1.91 MB / 0.654 GB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.6236, allocations: 0.8253 MB / 0.6548 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6236, allocations: 0 / 0.6548 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.624, allocations: 235.9 kB / 0.655 GB, free: 2.047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.625, allocations: 162.5 kB / 0.6552 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.628, allocations: 1.403 MB / 0.6566 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.6286, allocations: 0.9669 MB / 0.6575 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008017/0.6294, allocations: 207.3 kB / 0.6577 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.6298, allocations: 252.5 kB / 0.658 GB, free: 15.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.113e-06/0.6298, allocations: 7.938 kB / 0.658 GB, free: 15.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.6648, allocations: 15.33 MB / 0.6729 GB, free: 172 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.665, allocations: 146.3 kB / 0.6731 GB, free: 15.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.869, allocations: 0 / 0.6731 GB, free: 15.95 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat