Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, 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.265/1.265, 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.0008198/0.0008198, allocations: 95.36 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1942/0.1942, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.186e-05, allocations: 0 / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09504, allocations: 63.25 MB / 0.5114 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4364, allocations: 97.79 MB / 0.6069 GB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.4366, allocations: 66.09 kB / 0.607 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05808/0.4947, allocations: 20.19 MB / 0.6267 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4948, allocations: 0 / 0.6267 GB, free: 11.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.195e-05/0.4948, allocations: 20 kB / 0.6267 GB, free: 11.02 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.001655/0.4965, allocations: 0.953 MB / 0.6277 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4966, allocations: 19.97 kB / 0.6277 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.949e-05/0.4967, allocations: 80.58 kB / 0.6278 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.497, allocations: 107 kB / 0.6279 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.498, allocations: 0.5553 MB / 0.6284 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.4981, allocations: 42.06 kB / 0.6285 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.4982, allocations: 58.09 kB / 0.6285 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.4991, allocations: 0.5515 MB / 0.6291 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4991, allocations: 3.953 kB / 0.6291 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.4991, allocations: 18.69 kB / 0.6291 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.4992, allocations: 15.98 kB / 0.6291 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4998, allocations: 374 kB / 0.6294 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.5033, allocations: 2.663 MB / 0.632 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.5041, allocations: 479.2 kB / 0.6325 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.5044, allocations: 194.9 kB / 0.6327 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.5045, allocations: 8.281 kB / 0.6327 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.5045, allocations: 38.91 kB / 0.6327 GB, free: 5.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.5045, allocations: 4 kB / 0.6327 GB, free: 5.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001402/0.5059, allocations: 0.8042 MB / 0.6335 GB, free: 4.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.506, allocations: 132.5 kB / 0.6336 GB, free: 4.793 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.5067, allocations: 0.5498 MB / 0.6342 GB, free: 4.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.5067, allocations: 33.27 kB / 0.6342 GB, free: 4.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.507, allocations: 353.8 kB / 0.6346 GB, free: 4.109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5071, allocations: 180.5 kB / 0.6347 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.5072, allocations: 7.25 kB / 0.6347 GB, free: 3.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5073, allocations: 337.6 kB / 0.6351 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.5076, allocations: 194.4 kB / 0.6352 GB, free: 3.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.5081, allocations: 355.8 kB / 0.6356 GB, free: 3.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.5084, allocations: 237.8 kB / 0.6358 GB, free: 3.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5084, allocations: 4 kB / 0.6358 GB, free: 3.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001115/0.5096, allocations: 0.7082 MB / 0.6365 GB, free: 2.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000736/0.5103, allocations: 1.743 MB / 0.6382 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.5103, allocations: 11.94 kB / 0.6382 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.5106, allocations: 58.81 kB / 0.6383 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.5115, allocations: 202.9 kB / 0.6385 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.5128, allocations: 1.503 MB / 0.6399 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.5134, allocations: 92.97 kB / 0.64 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.5135, allocations: 26.88 kB / 0.64 GB, free: 14.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.5135, allocations: 5.406 kB / 0.6401 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009473/0.5144, allocations: 0.5971 MB / 0.6406 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5145, allocations: 7.984 kB / 0.6406 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.5146, allocations: 55.77 kB / 0.6407 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.5155, allocations: 203.3 kB / 0.6409 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.5167, allocations: 1.492 MB / 0.6423 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000642/0.5174, allocations: 93.88 kB / 0.6424 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.5175, allocations: 23.12 kB / 0.6425 GB, free: 12.37 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.5177, allocations: 149 kB / 0.6426 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.5178, allocations: 71.06 kB / 0.6427 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.5181, allocations: 87.75 kB / 0.6428 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5181, allocations: 7.938 kB / 0.6428 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5181, allocations: 7.984 kB / 0.6428 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5181, allocations: 0 / 0.6428 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5194, allocations: 0.8243 MB / 0.6436 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5194, allocations: 48 / 0.6436 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.5201, allocations: 113 kB / 0.6437 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.5201, allocations: 8 kB / 0.6437 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.5201, allocations: 15.73 kB / 0.6437 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5202, allocations: 4 kB / 0.6437 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5202, allocations: 0 / 0.6437 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.5214, allocations: 0.9943 MB / 0.6447 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.5217, allocations: 202.4 kB / 0.6449 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.5217, allocations: 15.12 kB / 0.6449 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.5223, allocations: 67.08 kB / 0.6449 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5224, allocations: 38.25 kB / 0.645 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.5225, allocations: 11.12 kB / 0.645 GB, free: 10.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005404/0.523, allocations: 432.7 kB / 0.6454 GB, free: 9.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.874e-06/0.523, allocations: 0 / 0.6454 GB, free: 9.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008898/0.5239, allocations: 209.3 kB / 0.6456 GB, free: 9.664 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.001719/0.5257, allocations: 1.689 MB / 0.6473 GB, free: 8.164 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.5277, allocations: 1.05 MB / 0.6483 GB, free: 7.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5277, allocations: 384 / 0.6483 GB, free: 7.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.5281, allocations: 228.5 kB / 0.6485 GB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.529, allocations: 155.5 kB / 0.6486 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.5318, allocations: 1.377 MB / 0.65 GB, free: 5.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.5324, allocations: 0.9741 MB / 0.6509 GB, free: 4.773 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007538/0.5332, allocations: 195.2 kB / 0.6511 GB, free: 4.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.5335, allocations: 257 kB / 0.6514 GB, free: 4.516 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5335, allocations: 0 / 0.6514 GB, free: 4.516 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.5686, allocations: 15.47 MB / 0.6665 GB, free: 5.223 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.5689, allocations: 171 kB / 0.6666 GB, free: 4.996 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.872, allocations: 0 / 0.6666 GB, free: 4.996 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat