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.001581/0.001581, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008807/0.0008805, allocations: 98 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4578/0.4578, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002788, allocations: 4 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4189, allocations: 63.24 MB / 0.5193 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5528, allocations: 98.11 MB / 0.6151 GB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5532, allocations: 71.94 kB / 0.6151 GB, free: 5.246 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08885/0.642, allocations: 29.36 MB / 0.6438 GB, free: 7.789 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6421, allocations: 0 / 0.6438 GB, free: 7.789 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001293/0.6422, allocations: 23.98 kB / 0.6438 GB, free: 7.766 MB / 458.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.003102/0.6453, allocations: 1.11 MB / 0.6449 GB, free: 6.605 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6454, allocations: 8.031 kB / 0.6449 GB, free: 6.598 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002351/0.6456, allocations: 86.53 kB / 0.645 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/0.6462, allocations: 110.9 kB / 0.6451 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.6479, allocations: 0.6053 MB / 0.6457 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.648, allocations: 44.94 kB / 0.6457 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6481, allocations: 56 kB / 0.6458 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6495, allocations: 0.6096 MB / 0.6464 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.6495, allocations: 3.938 kB / 0.6464 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.6496, allocations: 20 kB / 0.6464 GB, free: 4.957 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.6496, allocations: 12 kB / 0.6464 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.6508, allocations: 489.8 kB / 0.6469 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.6551, allocations: 2.667 MB / 0.6495 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.6562, allocations: 0.5125 MB / 0.65 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.6563, allocations: 8.297 kB / 0.65 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.6563, allocations: 38.73 kB / 0.65 GB, free: 1.098 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 2.195e-06/0.6563, allocations: 0 / 0.65 GB, free: 1.098 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.002741/0.6591, allocations: 1.181 MB / 0.6512 GB, free: 15.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.6591, allocations: 114.8 kB / 0.6513 GB, free: 15.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.6601, allocations: 0.5661 MB / 0.6519 GB, free: 15.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.6601, allocations: 33.7 kB / 0.6519 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6604, allocations: 356.7 kB / 0.6522 GB, free: 14.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.6606, allocations: 181.4 kB / 0.6524 GB, free: 14.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.6607, allocations: 12 kB / 0.6524 GB, free: 14.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6608, allocations: 337.9 kB / 0.6527 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.6615, allocations: 281.1 kB / 0.653 GB, free: 14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/0.6623, allocations: 427.5 kB / 0.6534 GB, free: 13.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.6631, allocations: 328.3 kB / 0.6537 GB, free: 13.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.6631, allocations: 4 kB / 0.6537 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001855/0.665, allocations: 0.8275 MB / 0.6545 GB, free: 12.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.6661, allocations: 1.75 MB / 0.6562 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.6662, allocations: 8 kB / 0.6563 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/0.6662, allocations: 15.98 kB / 0.6563 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.6673, allocations: 199.7 kB / 0.6565 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.6674, allocations: 11.94 kB / 0.6565 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.668, allocations: 87.53 kB / 0.6566 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.6681, allocations: 32.05 kB / 0.6566 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6681, allocations: 4 kB / 0.6566 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001548/0.6697, allocations: 0.7295 MB / 0.6573 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6697, allocations: 4 kB / 0.6573 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6697, allocations: 8 kB / 0.6573 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/0.6707, allocations: 208.3 kB / 0.6575 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6707, allocations: 11.94 kB / 0.6575 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.6714, allocations: 79.64 kB / 0.6576 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.6714, allocations: 31.98 kB / 0.6576 GB, free: 9.066 MB / 474.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.0004585/0.6719, allocations: 287.1 kB / 0.6579 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.6721, allocations: 75.06 kB / 0.658 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.6724, allocations: 90.89 kB / 0.6581 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6724, allocations: 8 kB / 0.6581 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6724, allocations: 0 / 0.6581 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.6724, allocations: 4 kB / 0.6581 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.6748, allocations: 1.276 MB / 0.6593 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6749, allocations: 0 / 0.6593 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.6756, allocations: 111.9 kB / 0.6594 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6756, allocations: 4 kB / 0.6594 GB, free: 7.145 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.6756, allocations: 23.98 kB / 0.6595 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.6757, allocations: 7.938 kB / 0.6595 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6757, allocations: 3.953 kB / 0.6595 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.6779, allocations: 1.242 MB / 0.6607 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.6783, allocations: 192.2 kB / 0.6609 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6784, allocations: 16 kB / 0.6609 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.679, allocations: 55.94 kB / 0.6609 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6791, allocations: 43.88 kB / 0.661 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.6792, allocations: 16 kB / 0.661 GB, free: 5.484 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007527/0.6799, allocations: 459 kB / 0.6614 GB, free: 5.043 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6799, allocations: 0 / 0.6614 GB, free: 5.043 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001029/0.681, allocations: 239.8 kB / 0.6617 GB, free: 4.809 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.003202/0.6842, allocations: 2.121 MB / 0.6637 GB, free: 2.633 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.6867, allocations: 1.01 MB / 0.6647 GB, free: 1.625 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6867, allocations: 4.062 kB / 0.6647 GB, free: 1.621 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006881/0.6874, allocations: 301.8 kB / 0.665 GB, free: 1.328 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6884, allocations: 161.3 kB / 0.6652 GB, free: 1.172 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.6993, allocations: 7.738 MB / 0.6727 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.7, allocations: 0.9659 MB / 0.6737 GB, free: 8.215 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007012/0.7008, allocations: 152.8 kB / 0.6738 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.7013, allocations: 259.3 kB / 0.6741 GB, free: 7.812 MB / 490.7 MB Notification: Performance of SimCode: time 7.063e-06/0.7013, allocations: 0 / 0.6741 GB, free: 7.812 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/1.054, allocations: 14.21 MB / 0.6879 GB, free: 124.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.054, allocations: 178 kB / 0.6881 GB, free: 124.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.604, allocations: 0 / 0.6881 GB, free: 124.3 MB / 490.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