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.001044/0.001044, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 86.28 kB / 261.7 MB, free: 1.684 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.2157/0.2157, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.878e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5054, allocations: 95.2 MB / 0.559 GB, free: 284 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.5057, allocations: 67.84 kB / 0.5591 GB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05845/0.5642, allocations: 20 MB / 0.5786 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.5642, allocations: 0 / 0.5786 GB, free: 15.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.533e-05/0.5643, allocations: 27.94 kB / 0.5786 GB, free: 15.5 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.001943/0.5663, allocations: 0.9519 MB / 0.5795 GB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5663, allocations: 12.03 kB / 0.5796 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.5665, allocations: 90.91 kB / 0.5796 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5676, allocations: 0.5594 MB / 0.5802 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.5676, allocations: 16.75 kB / 0.5802 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.5677, allocations: 34.75 kB / 0.5802 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000613/0.5683, allocations: 331.5 kB / 0.5806 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.5691, allocations: 0.4901 MB / 0.581 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.5691, allocations: 7.906 kB / 0.581 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.5692, allocations: 3.953 kB / 0.581 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5692, allocations: 12 kB / 0.5811 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.5727, allocations: 2.573 MB / 0.5836 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.5735, allocations: 467.3 kB / 0.584 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.5737, allocations: 187.2 kB / 0.5842 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.5738, allocations: 4 kB / 0.5842 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.5738, allocations: 46.94 kB / 0.5842 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.285e-06/0.5738, allocations: 0 / 0.5842 GB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001321/0.5752, allocations: 0.7715 MB / 0.585 GB, free: 9.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.5752, allocations: 140.4 kB / 0.5851 GB, free: 9.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.5758, allocations: 0.4973 MB / 0.5856 GB, free: 9.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5759, allocations: 25.7 kB / 0.5856 GB, free: 9.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.5761, allocations: 361.4 kB / 0.586 GB, free: 8.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5762, allocations: 163.9 kB / 0.5861 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.5763, allocations: 0 / 0.5861 GB, free: 8.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5764, allocations: 387 kB / 0.5865 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.5767, allocations: 188.7 kB / 0.5867 GB, free: 8.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.5771, allocations: 338.5 kB / 0.587 GB, free: 7.961 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.5775, allocations: 226.9 kB / 0.5872 GB, free: 7.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5775, allocations: 4 kB / 0.5872 GB, free: 7.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001034/0.5785, allocations: 0.6383 MB / 0.5879 GB, free: 7.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000649/0.5792, allocations: 1.744 MB / 0.5896 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5792, allocations: 4 kB / 0.5896 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.5794, allocations: 59.56 kB / 0.5896 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.5803, allocations: 214.3 kB / 0.5898 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.5816, allocations: 1.444 MB / 0.5912 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.5823, allocations: 83.66 kB / 0.5913 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.5823, allocations: 22.62 kB / 0.5913 GB, free: 3.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.5823, allocations: 4 kB / 0.5913 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008486/0.5832, allocations: 0.5309 MB / 0.5919 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5832, allocations: 4 kB / 0.5919 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.5834, allocations: 56.38 kB / 0.5919 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.5842, allocations: 203 kB / 0.5921 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.5855, allocations: 1.443 MB / 0.5935 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.5861, allocations: 75.72 kB / 0.5936 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.5862, allocations: 22.25 kB / 0.5936 GB, free: 1.387 MB / 394.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.0001984/0.5864, allocations: 120.7 kB / 0.5937 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007652/0.5872, allocations: 454.2 kB / 0.5942 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5873, allocations: 71.16 kB / 0.5942 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.5875, allocations: 76.41 kB / 0.5943 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5876, allocations: 7.984 kB / 0.5943 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5876, allocations: 8 kB / 0.5943 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5876, allocations: 7.938 kB / 0.5943 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5887, allocations: 0.7555 MB / 0.5951 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5887, allocations: 0 / 0.5951 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.5893, allocations: 115.7 kB / 0.5952 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.5893, allocations: 4 kB / 0.5952 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.5894, allocations: 11.73 kB / 0.5952 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.5894, allocations: 7.938 kB / 0.5952 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5894, allocations: 0 / 0.5952 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5905, allocations: 0.9603 MB / 0.5961 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5908, allocations: 196.4 kB / 0.5963 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.5908, allocations: 4 kB / 0.5963 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.5914, allocations: 55.94 kB / 0.5964 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5915, allocations: 43.64 kB / 0.5964 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.5916, allocations: 15.98 kB / 0.5964 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004045/0.592, allocations: 380.5 kB / 0.5968 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.592, allocations: 0 / 0.5968 GB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008229/0.5928, allocations: 175.9 kB / 0.597 GB, free: 14.49 MB / 410.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.00155/0.5944, allocations: 1.645 MB / 0.5986 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.5961, allocations: 0.9854 MB / 0.5995 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5961, allocations: 0 / 0.5995 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.5965, allocations: 209.6 kB / 0.5997 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.5975, allocations: 160.7 kB / 0.5999 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.6003, allocations: 1.349 MB / 0.6012 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.601, allocations: 0.9699 MB / 0.6021 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007679/0.6018, allocations: 183 kB / 0.6023 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.6021, allocations: 259.7 kB / 0.6026 GB, free: 9.461 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6021, allocations: 3.938 kB / 0.6026 GB, free: 9.457 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.6444, allocations: 14.27 MB / 0.6165 GB, free: 11.21 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.6447, allocations: 136.4 kB / 0.6166 GB, free: 11.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.273, allocations: 4.031 kB / 0.6166 GB, free: 11.01 MB / 426.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