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.001284/0.001285, allocations: 186.6 kB / 13.19 MB, free: 2.121 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.56/1.56, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008819/0.0008816, allocations: 91.52 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5204/0.5204, allocations: 43.46 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.894e-05, allocations: 7.984 kB / 425.4 MB, free: 8.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1266, allocations: 58.84 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5775, allocations: 95.86 MB / 0.5665 GB, free: 9.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5778, allocations: 69.75 kB / 0.5666 GB, free: 9.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06205/0.6398, allocations: 20.17 MB / 0.5863 GB, free: 4.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6399, allocations: 4 kB / 0.5863 GB, free: 4.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.2e-05/0.64, allocations: 16 kB / 0.5863 GB, free: 4.844 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.001903/0.6419, allocations: 0.9609 MB / 0.5872 GB, free: 3.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.6419, allocations: 8.031 kB / 0.5872 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.6421, allocations: 82.53 kB / 0.5873 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.6423, allocations: 86.97 kB / 0.5874 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6434, allocations: 0.5626 MB / 0.5879 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.6435, allocations: 38.38 kB / 0.588 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.6436, allocations: 59.94 kB / 0.588 GB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.6445, allocations: 0.5472 MB / 0.5886 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6446, allocations: 3.906 kB / 0.5886 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.6446, allocations: 27.89 kB / 0.5886 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6447, allocations: 12 kB / 0.5886 GB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.6453, allocations: 370 kB / 0.589 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/0.6491, allocations: 2.664 MB / 0.5916 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.65, allocations: 486.8 kB / 0.592 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.6503, allocations: 198.6 kB / 0.5922 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.6504, allocations: 4 kB / 0.5922 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.6504, allocations: 50.55 kB / 0.5923 GB, free: 14.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.6504, allocations: 0 / 0.5923 GB, free: 14.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001542/0.652, allocations: 0.8 MB / 0.593 GB, free: 13.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.6521, allocations: 132.5 kB / 0.5932 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.6528, allocations: 0.5547 MB / 0.5937 GB, free: 12.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.6528, allocations: 37.64 kB / 0.5938 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.6531, allocations: 357 kB / 0.5941 GB, free: 12.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.6533, allocations: 177.5 kB / 0.5943 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.6533, allocations: 12 kB / 0.5943 GB, free: 12.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6535, allocations: 330 kB / 0.5946 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.6538, allocations: 197.5 kB / 0.5948 GB, free: 11.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.6543, allocations: 350.6 kB / 0.5951 GB, free: 11.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.6547, allocations: 244 kB / 0.5953 GB, free: 11.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6547, allocations: 0 / 0.5953 GB, free: 11.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001153/0.6559, allocations: 0.7074 MB / 0.596 GB, free: 10.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007061/0.6566, allocations: 1.75 MB / 0.5977 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6566, allocations: 7.938 kB / 0.5978 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.6569, allocations: 56.83 kB / 0.5978 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.6579, allocations: 203.7 kB / 0.598 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.6593, allocations: 1.491 MB / 0.5995 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.6602, allocations: 95.78 kB / 0.5995 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.6603, allocations: 23.98 kB / 0.5996 GB, free: 6.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6603, allocations: 4 kB / 0.5996 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/0.662, allocations: 0.6053 MB / 0.6002 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.662, allocations: 4 kB / 0.6002 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.6623, allocations: 57.38 kB / 0.6002 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.6637, allocations: 199.8 kB / 0.6004 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.6655, allocations: 1.514 MB / 0.6019 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.6665, allocations: 83.7 kB / 0.602 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.6666, allocations: 24 kB / 0.602 GB, free: 3.918 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 (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.000363/0.667, allocations: 148.7 kB / 0.6021 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.6672, allocations: 75.06 kB / 0.6022 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.6676, allocations: 82.08 kB / 0.6023 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6676, allocations: 12 kB / 0.6023 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.6676, allocations: 0 / 0.6023 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6676, allocations: 3.984 kB / 0.6023 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.6697, allocations: 0.818 MB / 0.6031 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.6698, allocations: 0 / 0.6031 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.6709, allocations: 119.9 kB / 0.6032 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.6709, allocations: 0 / 0.6032 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.671, allocations: 19.98 kB / 0.6032 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.6711, allocations: 0 / 0.6032 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6711, allocations: 4 kB / 0.6032 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.6732, allocations: 0.9922 MB / 0.6042 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/0.6738, allocations: 192.2 kB / 0.6044 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.674, allocations: 23.94 kB / 0.6044 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.6749, allocations: 63.94 kB / 0.6045 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6751, allocations: 39.94 kB / 0.6045 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/0.6752, allocations: 12 kB / 0.6045 GB, free: 1.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.6763, allocations: 431.1 kB / 0.6049 GB, free: 0.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6763, allocations: 0 / 0.6049 GB, free: 0.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001672/0.678, allocations: 208 kB / 0.6051 GB, free: 0.5898 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.002628/0.6806, allocations: 1.695 MB / 0.6068 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.6837, allocations: 1.038 MB / 0.6078 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6837, allocations: 0 / 0.6078 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.6843, allocations: 224.6 kB / 0.608 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6858, allocations: 170.3 kB / 0.6082 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6902, allocations: 1.383 MB / 0.6095 GB, free: 11.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.6908, allocations: 0.9668 MB / 0.6105 GB, free: 10.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.6916, allocations: 195.1 kB / 0.6107 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.692, allocations: 255.3 kB / 0.6109 GB, free: 10.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/0.692, allocations: 0 / 0.6109 GB, free: 10.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.7419, allocations: 15.57 MB / 0.6261 GB, free: 11.04 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.7422, allocations: 162.9 kB / 0.6263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.319, allocations: 4 kB / 0.6263 GB, free: 10.82 MB / 458.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