Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.697/1.697, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009736/0.0009738, allocations: 96.22 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.496e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.5854, allocations: 97.27 MB / 0.5994 GB, free: 5.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5857, allocations: 66.47 kB / 0.5995 GB, free: 5.066 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08321/0.6689, allocations: 27.78 MB / 0.6266 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.669, allocations: 0.6562 kB / 0.6266 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.538e-05/0.6691, allocations: 23.94 kB / 0.6267 GB, free: 13.85 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.002047/0.6712, allocations: 0.9585 MB / 0.6276 GB, free: 12.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6712, allocations: 8.031 kB / 0.6276 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.6716, allocations: 106.9 kB / 0.6277 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.6725, allocations: 0.5504 MB / 0.6282 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.6726, allocations: 19.94 kB / 0.6283 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.6727, allocations: 43.14 kB / 0.6283 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006343/0.6733, allocations: 331 kB / 0.6286 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.6741, allocations: 0.4968 MB / 0.6291 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6742, allocations: 0 / 0.6291 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.6742, allocations: 4 kB / 0.6291 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.6742, allocations: 12 kB / 0.6291 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.6778, allocations: 2.606 MB / 0.6317 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.6785, allocations: 453.2 kB / 0.6321 GB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6788, allocations: 191.2 kB / 0.6323 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.6789, allocations: 4 kB / 0.6323 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6789, allocations: 42.44 kB / 0.6323 GB, free: 8.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.6789, allocations: 0 / 0.6323 GB, free: 8.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001337/0.6803, allocations: 0.7632 MB / 0.6331 GB, free: 8.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.6804, allocations: 132.5 kB / 0.6332 GB, free: 7.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.6809, allocations: 0.4916 MB / 0.6337 GB, free: 7.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.681, allocations: 29.8 kB / 0.6337 GB, free: 7.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.6812, allocations: 362.8 kB / 0.634 GB, free: 7.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6814, allocations: 165.1 kB / 0.6342 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.6814, allocations: 0 / 0.6342 GB, free: 7.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.6816, allocations: 384.5 kB / 0.6346 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.6819, allocations: 200.6 kB / 0.6348 GB, free: 6.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.6823, allocations: 344.8 kB / 0.6351 GB, free: 6.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.6827, allocations: 241.5 kB / 0.6353 GB, free: 6.109 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6828, allocations: 0 / 0.6353 GB, free: 6.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009639/0.6837, allocations: 0.6231 MB / 0.6359 GB, free: 5.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007793/0.6845, allocations: 1.75 MB / 0.6376 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6845, allocations: 7.984 kB / 0.6376 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.6846, allocations: 11.94 kB / 0.6377 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.6853, allocations: 163.3 kB / 0.6378 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.6853, allocations: 11.94 kB / 0.6378 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.6859, allocations: 79.58 kB / 0.6379 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.6859, allocations: 26.94 kB / 0.6379 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.686, allocations: 4 kB / 0.6379 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008107/0.6868, allocations: 0.5052 MB / 0.6384 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6868, allocations: 8.031 kB / 0.6384 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.6868, allocations: 8 kB / 0.6384 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.6874, allocations: 151.5 kB / 0.6386 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.6874, allocations: 8 kB / 0.6386 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.6879, allocations: 79.56 kB / 0.6387 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.688, allocations: 31.44 kB / 0.6387 GB, free: 2.84 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.000155/0.6881, allocations: 116.8 kB / 0.6388 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007118/0.6889, allocations: 460 kB / 0.6392 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.689, allocations: 71.16 kB / 0.6393 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.6892, allocations: 76.39 kB / 0.6394 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6892, allocations: 8 kB / 0.6394 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6892, allocations: 0 / 0.6394 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6893, allocations: 3.984 kB / 0.6394 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6903, allocations: 0.7483 MB / 0.6401 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6904, allocations: 0 / 0.6401 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.6911, allocations: 114.2 kB / 0.6402 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.6911, allocations: 4 kB / 0.6402 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.6912, allocations: 11.86 kB / 0.6403 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.6912, allocations: 4 kB / 0.6403 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6912, allocations: 0 / 0.6403 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6923, allocations: 0.954 MB / 0.6412 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.6925, allocations: 198 kB / 0.6414 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.6926, allocations: 11.48 kB / 0.6414 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.6932, allocations: 59.88 kB / 0.6414 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6933, allocations: 43.27 kB / 0.6415 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.6933, allocations: 14.56 kB / 0.6415 GB, free: 404 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003994/0.6937, allocations: 381.5 kB / 0.6419 GB, free: 120 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.853e-06/0.6937, allocations: 0 / 0.6419 GB, free: 120 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000853/0.6946, allocations: 171.9 kB / 0.642 GB, free: 15.95 MB / 442.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.001513/0.6961, allocations: 1.662 MB / 0.6437 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.6974, allocations: 0.7615 MB / 0.6444 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6974, allocations: 0.875 kB / 0.6444 GB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.6977, allocations: 222.3 kB / 0.6446 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/0.6987, allocations: 152.7 kB / 0.6448 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.7015, allocations: 1.329 MB / 0.6461 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.702, allocations: 0.9626 MB / 0.647 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008147/0.7028, allocations: 203 kB / 0.6472 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.7031, allocations: 251 kB / 0.6474 GB, free: 11.15 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7032, allocations: 0 / 0.6474 GB, free: 11.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.7417, allocations: 13.41 MB / 0.6605 GB, free: 13.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.7419, allocations: 142.1 kB / 0.6607 GB, free: 13.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.212, allocations: 0 / 0.6607 GB, free: 13.6 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat