Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009929/0.0009933, allocations: 91.64 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 45.16 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.923e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5353, allocations: 96.87 MB / 0.599 GB, free: 5.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.5355, allocations: 70.41 kB / 0.5991 GB, free: 5.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0435/0.579, allocations: 14.68 MB / 0.6134 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.579, allocations: 0 / 0.6134 GB, free: 9.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.919e-05/0.5791, allocations: 23.94 kB / 0.6135 GB, free: 9.18 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.001792/0.5809, allocations: 0.9588 MB / 0.6144 GB, free: 8.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.581, allocations: 8.031 kB / 0.6144 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.5813, allocations: 106.9 kB / 0.6145 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.5824, allocations: 0.5508 MB / 0.615 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.5824, allocations: 19.94 kB / 0.6151 GB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.5825, allocations: 35.91 kB / 0.6151 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005979/0.5831, allocations: 334.3 kB / 0.6154 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007704/0.5839, allocations: 0.4885 MB / 0.6159 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5839, allocations: 0.625 kB / 0.6159 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.584, allocations: 7.953 kB / 0.6159 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.584, allocations: 12 kB / 0.6159 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.5877, allocations: 2.61 MB / 0.6185 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.5884, allocations: 448.3 kB / 0.6189 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.5886, allocations: 188.8 kB / 0.6191 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.5887, allocations: 12.03 kB / 0.6191 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5887, allocations: 33.75 kB / 0.6191 GB, free: 4.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.5887, allocations: 0 / 0.6191 GB, free: 4.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001296/0.59, allocations: 0.7752 MB / 0.6199 GB, free: 3.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.5901, allocations: 136.5 kB / 0.62 GB, free: 3.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.5907, allocations: 0.4883 MB / 0.6205 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.5907, allocations: 25.7 kB / 0.6205 GB, free: 2.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.591, allocations: 366.2 kB / 0.6209 GB, free: 2.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.5911, allocations: 165.6 kB / 0.621 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.5911, allocations: 0 / 0.621 GB, free: 2.402 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5913, allocations: 386.2 kB / 0.6214 GB, free: 2.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.5916, allocations: 196 kB / 0.6216 GB, free: 1.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.592, allocations: 345.2 kB / 0.6219 GB, free: 1.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.5924, allocations: 240.5 kB / 0.6221 GB, free: 1.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5924, allocations: 0 / 0.6221 GB, free: 1.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009332/0.5933, allocations: 0.6109 MB / 0.6227 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009132/0.5942, allocations: 1.75 MB / 0.6244 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.5943, allocations: 4 kB / 0.6244 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.5943, allocations: 11.94 kB / 0.6244 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/0.5951, allocations: 170.2 kB / 0.6246 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.5951, allocations: 11.94 kB / 0.6246 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.5957, allocations: 83.53 kB / 0.6247 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.5957, allocations: 22.81 kB / 0.6247 GB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.5957, allocations: 4 kB / 0.6247 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008032/0.5965, allocations: 0.516 MB / 0.6252 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5965, allocations: 4 kB / 0.6252 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.5966, allocations: 8 kB / 0.6252 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.5972, allocations: 156.2 kB / 0.6254 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5972, allocations: 8 kB / 0.6254 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.5977, allocations: 75.62 kB / 0.6255 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.5978, allocations: 26.88 kB / 0.6255 GB, free: 14.18 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 () * 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.0001441/0.5979, allocations: 120.7 kB / 0.6256 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007258/0.5986, allocations: 444.2 kB / 0.626 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5988, allocations: 78.52 kB / 0.6261 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.599, allocations: 74.2 kB / 0.6262 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.599, allocations: 11.98 kB / 0.6262 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.599, allocations: 0 / 0.6262 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.599, allocations: 0 / 0.6262 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6001, allocations: 0.747 MB / 0.6269 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6001, allocations: 0 / 0.6269 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/0.6008, allocations: 125.5 kB / 0.627 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.6008, allocations: 4 kB / 0.627 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.6008, allocations: 10.73 kB / 0.6271 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6009, allocations: 7.984 kB / 0.6271 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6009, allocations: 0 / 0.6271 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.602, allocations: 0.9516 MB / 0.628 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.6022, allocations: 197.4 kB / 0.6282 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.6023, allocations: 4 kB / 0.6282 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.6029, allocations: 59.12 kB / 0.6282 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.603, allocations: 39.44 kB / 0.6283 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.6031, allocations: 15.75 kB / 0.6283 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004123/0.6035, allocations: 382.2 kB / 0.6287 GB, free: 11.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.684e-06/0.6035, allocations: 0 / 0.6287 GB, free: 11.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007568/0.6043, allocations: 167.9 kB / 0.6288 GB, free: 11.3 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 () * 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.00143/0.6057, allocations: 1.66 MB / 0.6304 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.6068, allocations: 0.7734 MB / 0.6312 GB, free: 9.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6068, allocations: 0 / 0.6312 GB, free: 9.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.6071, allocations: 220 kB / 0.6314 GB, free: 9.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.608, allocations: 165.7 kB / 0.6316 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6106, allocations: 1.333 MB / 0.6329 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.6111, allocations: 0.9622 MB / 0.6338 GB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007173/0.6118, allocations: 199 kB / 0.634 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.6121, allocations: 252.5 kB / 0.6342 GB, free: 6.488 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6121, allocations: 0 / 0.6342 GB, free: 6.488 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.6476, allocations: 13.41 MB / 0.6473 GB, free: 9.125 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.6479, allocations: 118.1 kB / 0.6474 GB, free: 8.934 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.069, allocations: 3.938 kB / 0.6474 GB, free: 8.93 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat