Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001533/0.001533, allocations: 184.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001209/0.001209, allocations: 101.4 kB / 270.9 MB, free: 8.363 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.5808/0.5808, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007873/0.0007872, allocations: 12 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1643, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005236/0.1696, allocations: 2.851 MB / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.1742, allocations: 1.494 MB / 494.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.1749, allocations: 19.88 kB / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.1755, allocations: 87.33 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.1764, allocations: 199.4 kB / 494.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.1782, allocations: 419.2 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.18, allocations: 0.5695 MB / 495.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.1806, allocations: 173.2 kB / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.1815, allocations: 318.7 kB / 496.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.1821, allocations: 314.4 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1823, allocations: 20 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1824, allocations: 24 kB / 496.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1826, allocations: 147.4 kB / 496.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1829, allocations: 133.3 kB / 497 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1844, allocations: 0.5377 MB / 497.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1845, allocations: 4 kB / 497.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1845, allocations: 0 / 497.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.1846, allocations: 0 / 497.6 MB, free: 3.82 MB / 378.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.004333/0.1889, allocations: 1.055 MB / 498.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/0.189, allocations: 8.031 kB / 498.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002831/0.1893, allocations: 90.45 kB / 498.7 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.1896, allocations: 90.92 kB / 498.8 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.1913, allocations: 0.5304 MB / 499.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.1914, allocations: 37 kB / 499.4 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.1916, allocations: 56 kB / 499.4 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.1936, allocations: 0.6252 MB / 0.4883 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.1936, allocations: 3.906 kB / 0.4883 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.1937, allocations: 20 kB / 0.4884 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1938, allocations: 19.94 kB / 0.4884 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1958, allocations: 0.4977 MB / 0.4889 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3847/0.5806, allocations: 2.637 MB / 0.4914 GB, free: 36.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.5842, allocations: 0.5852 MB / 0.492 GB, free: 36.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.5844, allocations: 5.406 kB / 0.492 GB, free: 36.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.5844, allocations: 46.08 kB / 0.4921 GB, free: 36.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 5e-06/0.5845, allocations: 0 / 0.4921 GB, free: 36.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.006845/0.5913, allocations: 1.203 MB / 0.4932 GB, free: 36.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.5915, allocations: 142.2 kB / 0.4934 GB, free: 36.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.5939, allocations: 0.6536 MB / 0.494 GB, free: 36.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.5941, allocations: 38.64 kB / 0.494 GB, free: 36.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.5945, allocations: 375.5 kB / 0.4944 GB, free: 36.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.5949, allocations: 172.8 kB / 0.4946 GB, free: 35.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.595, allocations: 12.31 kB / 0.4946 GB, free: 35.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5952, allocations: 334.5 kB / 0.4949 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.597, allocations: 283.9 kB / 0.4952 GB, free: 35.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.5991, allocations: 438.8 kB / 0.4956 GB, free: 35.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.6011, allocations: 322.8 kB / 0.4959 GB, free: 35.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.6012, allocations: 0 / 0.4959 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004504/0.6057, allocations: 0.81 MB / 0.4967 GB, free: 35.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.6064, allocations: 1.742 MB / 0.4984 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.6064, allocations: 5.438 kB / 0.4984 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.607, allocations: 57.34 kB / 0.4984 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.6096, allocations: 212.6 kB / 0.4987 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.6124, allocations: 1.514 MB / 0.5001 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.6141, allocations: 94.25 kB / 0.5002 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.6144, allocations: 23.78 kB / 0.5002 GB, free: 32.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6144, allocations: 4.125 kB / 0.5002 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004165/0.6186, allocations: 0.7407 MB / 0.501 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.6187, allocations: 9.234 kB / 0.501 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.6191, allocations: 55.22 kB / 0.501 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.6213, allocations: 206 kB / 0.5012 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.6214, allocations: 8.781 kB / 0.5012 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6225, allocations: 68.2 kB / 0.5013 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/0.6226, allocations: 28.55 kB / 0.5013 GB, free: 32.15 MB / 378.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.0008581/0.6235, allocations: 292.7 kB / 0.5016 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.6239, allocations: 79.62 kB / 0.5017 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.6242, allocations: 89.69 kB / 0.5018 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.6243, allocations: 6.75 kB / 0.5018 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.6243, allocations: 1.719 kB / 0.5018 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.6243, allocations: 4.891 kB / 0.5018 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.6273, allocations: 0.8608 MB / 0.5026 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6274, allocations: 0.5469 kB / 0.5026 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.6293, allocations: 116.3 kB / 0.5027 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.6293, allocations: 3.031 kB / 0.5027 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.6294, allocations: 12.97 kB / 0.5027 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.6295, allocations: 6.047 kB / 0.5028 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6295, allocations: 3.828 kB / 0.5028 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/0.6344, allocations: 1.225 MB / 0.504 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/0.6352, allocations: 198.1 kB / 0.5041 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.6355, allocations: 18.62 kB / 0.5042 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6369, allocations: 62.78 kB / 0.5042 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.6372, allocations: 41.75 kB / 0.5043 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.6373, allocations: 8.562 kB / 0.5043 GB, free: 31.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.6388, allocations: 464.6 kB / 0.5047 GB, free: 30.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6388, allocations: 0 / 0.5047 GB, free: 30.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002051/0.6409, allocations: 196.8 kB / 0.5049 GB, free: 30.96 MB / 378.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.005359/0.6463, allocations: 1.921 MB / 0.5068 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.6523, allocations: 1.216 MB / 0.508 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.6524, allocations: 0 / 0.508 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.654, allocations: 303.9 kB / 0.5083 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.6562, allocations: 172.9 kB / 0.5084 GB, free: 29.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/0.6789, allocations: 7.784 MB / 0.516 GB, free: 24.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/0.6799, allocations: 0.9681 MB / 0.517 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.6809, allocations: 262.7 kB / 0.5172 GB, free: 23.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6809, allocations: 0 / 0.5172 GB, free: 23.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.078/3.759, allocations: 12.78 MB / 0.5297 GB, free: 22.85 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat