Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 88.05 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.066e-05, allocations: 0 / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1536, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.59, allocations: 96.93 MB / 0.5965 GB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5903, allocations: 71.95 kB / 0.5965 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08753/0.6778, allocations: 29.29 MB / 0.6251 GB, free: 10.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6779, allocations: 0 / 0.6251 GB, free: 10.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.587e-05/0.678, allocations: 36.3 kB / 0.6252 GB, free: 10.84 MB / 442.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.001936/0.6799, allocations: 0.9543 MB / 0.6261 GB, free: 9.844 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.68, allocations: 12.03 kB / 0.6261 GB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.6801, allocations: 82.47 kB / 0.6262 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.6803, allocations: 98.86 kB / 0.6263 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.6815, allocations: 0.5781 MB / 0.6268 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.6816, allocations: 37 kB / 0.6269 GB, free: 8.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6817, allocations: 56 kB / 0.6269 GB, free: 8.934 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.6827, allocations: 0.5443 MB / 0.6275 GB, free: 8.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6827, allocations: 3.938 kB / 0.6275 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.6828, allocations: 16 kB / 0.6275 GB, free: 8.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6828, allocations: 12 kB / 0.6275 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/0.6835, allocations: 370 kB / 0.6278 GB, free: 7.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.6875, allocations: 2.663 MB / 0.6304 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.6883, allocations: 432.5 kB / 0.6309 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.6887, allocations: 211 kB / 0.6311 GB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.6887, allocations: 4.234 kB / 0.6311 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.6888, allocations: 46.73 kB / 0.6311 GB, free: 4.441 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.056e-06/0.6888, allocations: 0 / 0.6311 GB, free: 4.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001576/0.6904, allocations: 0.8003 MB / 0.6319 GB, free: 3.633 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.6904, allocations: 110.8 kB / 0.632 GB, free: 3.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.6912, allocations: 0.5466 MB / 0.6325 GB, free: 2.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.6912, allocations: 37.7 kB / 0.6326 GB, free: 2.902 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.6915, allocations: 352.8 kB / 0.6329 GB, free: 2.555 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.6917, allocations: 181.4 kB / 0.6331 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.6917, allocations: 12 kB / 0.6331 GB, free: 2.363 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.6919, allocations: 330 kB / 0.6334 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.6923, allocations: 201.5 kB / 0.6336 GB, free: 1.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.6928, allocations: 364.9 kB / 0.6339 GB, free: 1.418 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.6933, allocations: 263.4 kB / 0.6342 GB, free: 1.164 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6933, allocations: 0 / 0.6342 GB, free: 1.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00128/0.6946, allocations: 0.6838 MB / 0.6349 GB, free: 484 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001068/0.6957, allocations: 1.749 MB / 0.6366 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.6957, allocations: 4 kB / 0.6366 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.6957, allocations: 11.94 kB / 0.6366 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.6969, allocations: 203.7 kB / 0.6368 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.6969, allocations: 11.95 kB / 0.6368 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.6975, allocations: 87.53 kB / 0.6369 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.6976, allocations: 32 kB / 0.6369 GB, free: 14.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6976, allocations: 5.406 kB / 0.6369 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/0.6987, allocations: 0.5924 MB / 0.6375 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6987, allocations: 7.984 kB / 0.6375 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6987, allocations: 8 kB / 0.6375 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.6997, allocations: 199.8 kB / 0.6377 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.6997, allocations: 12.03 kB / 0.6377 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.7002, allocations: 83.62 kB / 0.6378 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.7003, allocations: 27.94 kB / 0.6378 GB, free: 13.32 MB / 458.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 (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.0001853/0.7005, allocations: 148.7 kB / 0.6379 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7007, allocations: 79.02 kB / 0.638 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.7009, allocations: 86.89 kB / 0.6381 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7009, allocations: 8 kB / 0.6381 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.701, allocations: 0 / 0.6381 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.701, allocations: 0 / 0.6381 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.7029, allocations: 1.202 MB / 0.6393 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7029, allocations: 4 kB / 0.6393 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.7035, allocations: 111.9 kB / 0.6394 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7036, allocations: 4 kB / 0.6394 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.7036, allocations: 12.06 kB / 0.6394 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7036, allocations: 8 kB / 0.6394 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7036, allocations: 4 kB / 0.6394 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.705, allocations: 1.028 MB / 0.6404 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.7053, allocations: 204.1 kB / 0.6406 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.7053, allocations: 12 kB / 0.6406 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.7059, allocations: 59.94 kB / 0.6407 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.706, allocations: 39.94 kB / 0.6407 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.7061, allocations: 8 kB / 0.6407 GB, free: 10.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005809/0.7067, allocations: 435.1 kB / 0.6412 GB, free: 9.754 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7067, allocations: 0 / 0.6412 GB, free: 9.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00089/0.7076, allocations: 235.9 kB / 0.6414 GB, free: 9.523 MB / 458.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 () * 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.002045/0.7096, allocations: 1.894 MB / 0.6432 GB, free: 7.578 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.7112, allocations: 0.8336 MB / 0.644 GB, free: 6.742 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7112, allocations: 3.938 kB / 0.644 GB, free: 6.738 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.7116, allocations: 230.2 kB / 0.6443 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.7125, allocations: 171.5 kB / 0.6444 GB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.7153, allocations: 1.394 MB / 0.6458 GB, free: 4.895 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.7159, allocations: 0.9673 MB / 0.6467 GB, free: 3.891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007852/0.7167, allocations: 211.4 kB / 0.6469 GB, free: 3.684 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.7171, allocations: 251.3 kB / 0.6472 GB, free: 3.441 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.7171, allocations: 0 / 0.6472 GB, free: 3.441 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.7519, allocations: 15.35 MB / 0.6622 GB, free: 4.223 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.7522, allocations: 162.3 kB / 0.6623 GB, free: 3.988 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.37, allocations: 0 / 0.6623 GB, free: 3.988 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat