Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009557, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1771/0.1771, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3069/0.4091, allocations: 95.96 MB / 0.5725 GB, free: 3.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4093, allocations: 63.78 kB / 0.5726 GB, free: 3.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05764/0.467, allocations: 20.19 MB / 0.5923 GB, free: 2.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.467, allocations: 0 / 0.5923 GB, free: 2.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.821e-05/0.4671, allocations: 23.31 kB / 0.5923 GB, free: 2.707 MB / 394.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.002585/0.4697, allocations: 1.097 MB / 0.5934 GB, free: 1.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4697, allocations: 12.02 kB / 0.5934 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.4699, allocations: 82.84 kB / 0.5935 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.4702, allocations: 86.97 kB / 0.5936 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.4714, allocations: 0.5873 MB / 0.5942 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.4715, allocations: 38.94 kB / 0.5942 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4716, allocations: 62.03 kB / 0.5943 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4727, allocations: 0.6292 MB / 0.5949 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4727, allocations: 3.938 kB / 0.5949 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.4728, allocations: 22.77 kB / 0.5949 GB, free: 284 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4728, allocations: 15.94 kB / 0.5949 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4739, allocations: 0.5042 MB / 0.5954 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.4777, allocations: 2.649 MB / 0.598 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.4789, allocations: 0.5869 MB / 0.5986 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.4789, allocations: 8.062 kB / 0.5986 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.479, allocations: 45.8 kB / 0.5986 GB, free: 12.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.479, allocations: 0 / 0.5986 GB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002713/0.4817, allocations: 1.216 MB / 0.5998 GB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.4818, allocations: 140.5 kB / 0.5999 GB, free: 11.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/0.4827, allocations: 0.5743 MB / 0.6005 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.4828, allocations: 36.58 kB / 0.6005 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.483, allocations: 356.1 kB / 0.6009 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.4832, allocations: 173.7 kB / 0.601 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.4833, allocations: 10.38 kB / 0.6011 GB, free: 10.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4834, allocations: 332.2 kB / 0.6014 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.484, allocations: 278.1 kB / 0.6016 GB, free: 10.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.4848, allocations: 440.5 kB / 0.6021 GB, free: 9.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.4855, allocations: 328.1 kB / 0.6024 GB, free: 9.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4855, allocations: 0 / 0.6024 GB, free: 9.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00172/0.4872, allocations: 0.8745 MB / 0.6032 GB, free: 9.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000621/0.4878, allocations: 1.741 MB / 0.6049 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4878, allocations: 8.047 kB / 0.6049 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.4881, allocations: 62.92 kB / 0.605 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/0.489, allocations: 207.5 kB / 0.6052 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.4903, allocations: 1.514 MB / 0.6067 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.491, allocations: 96.97 kB / 0.6068 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.491, allocations: 34.12 kB / 0.6068 GB, free: 5.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.4911, allocations: 6.656 kB / 0.6068 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.4924, allocations: 0.7354 MB / 0.6075 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4925, allocations: 4 kB / 0.6075 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.4926, allocations: 63.5 kB / 0.6076 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.4935, allocations: 203.8 kB / 0.6078 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.4947, allocations: 1.506 MB / 0.6092 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.4954, allocations: 84.47 kB / 0.6093 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.4954, allocations: 27.75 kB / 0.6093 GB, free: 2.816 MB / 410.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 (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.0004116/0.4958, allocations: 293.1 kB / 0.6096 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.496, allocations: 75.06 kB / 0.6097 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4962, allocations: 82.8 kB / 0.6098 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4963, allocations: 4 kB / 0.6098 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4963, allocations: 8 kB / 0.6098 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4963, allocations: 7.969 kB / 0.6098 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4977, allocations: 0.843 MB / 0.6106 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4977, allocations: 0 / 0.6106 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.4984, allocations: 119.3 kB / 0.6107 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4984, allocations: 0 / 0.6107 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.4985, allocations: 18.73 kB / 0.6108 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4985, allocations: 0 / 0.6108 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4985, allocations: 4 kB / 0.6108 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5004, allocations: 1.231 MB / 0.612 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.5007, allocations: 196.8 kB / 0.6121 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.5008, allocations: 18.44 kB / 0.6122 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.5014, allocations: 67.06 kB / 0.6122 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5015, allocations: 39.88 kB / 0.6123 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.5016, allocations: 11.56 kB / 0.6123 GB, free: 248 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006513/0.5022, allocations: 463 kB / 0.6127 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5023, allocations: 0 / 0.6127 GB, free: 15.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008308/0.5031, allocations: 207.2 kB / 0.6129 GB, free: 15.71 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 () * Number of clocked 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.002304/0.5054, allocations: 1.932 MB / 0.6148 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.5079, allocations: 1.257 MB / 0.616 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5079, allocations: 3.938 kB / 0.616 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.5085, allocations: 307.7 kB / 0.6163 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.5093, allocations: 157.3 kB / 0.6165 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.5183, allocations: 7.782 MB / 0.6241 GB, free: 5.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.5189, allocations: 0.9727 MB / 0.625 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000568/0.5195, allocations: 136.8 kB / 0.6252 GB, free: 4.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.5198, allocations: 260.6 kB / 0.6254 GB, free: 4.113 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5198, allocations: 0 / 0.6254 GB, free: 4.113 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.5513, allocations: 14.42 MB / 0.6395 GB, free: 5.742 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.5516, allocations: 187.8 kB / 0.6397 GB, free: 5.508 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.759, allocations: 0 / 0.6397 GB, free: 5.508 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat