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.002252/0.002259, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 95.09 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4092/0.4092, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.113e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4052, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.614, allocations: 95.19 MB / 0.559 GB, free: 4.004 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.6143, allocations: 71.95 kB / 0.559 GB, free: 3.934 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.718, allocations: 20 MB / 0.5786 GB, free: 15.87 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7181, allocations: 0 / 0.5786 GB, free: 15.87 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.7182, allocations: 35.86 kB / 0.5786 GB, free: 15.84 MB / 427.1 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.003181/0.7214, allocations: 0.9511 MB / 0.5795 GB, free: 14.84 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.7215, allocations: 12.03 kB / 0.5795 GB, free: 14.83 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.7219, allocations: 90.97 kB / 0.5796 GB, free: 14.74 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.7239, allocations: 0.5589 MB / 0.5802 GB, free: 14.14 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.724, allocations: 20 kB / 0.5802 GB, free: 14.12 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.7241, allocations: 32 kB / 0.5802 GB, free: 14.09 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/0.7252, allocations: 334.5 kB / 0.5805 GB, free: 13.76 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.7265, allocations: 0.4939 MB / 0.581 GB, free: 13.21 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.7265, allocations: 7.906 kB / 0.581 GB, free: 13.21 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.7266, allocations: 3.953 kB / 0.581 GB, free: 13.2 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.7266, allocations: 12 kB / 0.581 GB, free: 13.19 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/0.7328, allocations: 2.569 MB / 0.5835 GB, free: 10.54 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7342, allocations: 460.2 kB / 0.584 GB, free: 10.06 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.7347, allocations: 193.9 kB / 0.5842 GB, free: 9.863 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.7348, allocations: 4 kB / 0.5842 GB, free: 9.859 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.7348, allocations: 46.48 kB / 0.5842 GB, free: 9.805 MB / 427.1 MB Notification: Performance of pre-optimization done (n=43): time 3.557e-06/0.7348, allocations: 4 kB / 0.5842 GB, free: 9.801 MB / 427.1 MB Notification: Performance of matching and sorting (n=44): time 0.00228/0.7371, allocations: 0.7646 MB / 0.585 GB, free: 9.023 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.7373, allocations: 136.5 kB / 0.5851 GB, free: 8.859 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/0.7382, allocations: 0.4958 MB / 0.5856 GB, free: 8.359 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 9.579e-05/0.7384, allocations: 25.7 kB / 0.5856 GB, free: 8.328 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.7387, allocations: 375.1 kB / 0.586 GB, free: 7.957 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.739, allocations: 169.7 kB / 0.5861 GB, free: 7.789 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.7391, allocations: 0 / 0.5861 GB, free: 7.789 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.7393, allocations: 338.8 kB / 0.5864 GB, free: 7.449 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.7398, allocations: 189.5 kB / 0.5866 GB, free: 7.262 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.7405, allocations: 337.1 kB / 0.587 GB, free: 6.863 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.7411, allocations: 229.1 kB / 0.5872 GB, free: 6.641 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7412, allocations: 4 kB / 0.5872 GB, free: 6.637 MB / 427.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001777/0.7429, allocations: 0.586 MB / 0.5877 GB, free: 6.043 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008566/0.7438, allocations: 1.745 MB / 0.5895 GB, free: 4.164 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.7439, allocations: 8 kB / 0.5895 GB, free: 4.156 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.7442, allocations: 56.81 kB / 0.5895 GB, free: 4.098 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.7461, allocations: 215.7 kB / 0.5897 GB, free: 3.887 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.7482, allocations: 1.432 MB / 0.5911 GB, free: 2.336 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7494, allocations: 91.41 kB / 0.5912 GB, free: 2.246 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/0.7495, allocations: 24.09 kB / 0.5912 GB, free: 2.223 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7496, allocations: 4 kB / 0.5912 GB, free: 2.219 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/0.7512, allocations: 0.5319 MB / 0.5917 GB, free: 1.684 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7513, allocations: 8.031 kB / 0.5918 GB, free: 1.676 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.7515, allocations: 56.81 kB / 0.5918 GB, free: 1.617 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.7533, allocations: 195.8 kB / 0.592 GB, free: 1.426 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.7533, allocations: 15.98 kB / 0.592 GB, free: 1.41 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/0.754, allocations: 55.66 kB / 0.5921 GB, free: 1.355 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.7541, allocations: 24 kB / 0.5921 GB, free: 1.332 MB / 427.1 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.0002474/0.7544, allocations: 124.8 kB / 0.5922 GB, free: 1.203 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001371/0.7558, allocations: 452.3 kB / 0.5926 GB, free: 0.7539 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.756, allocations: 75.09 kB / 0.5927 GB, free: 0.6797 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.7563, allocations: 85.77 kB / 0.5928 GB, free: 0.5938 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.7563, allocations: 8 kB / 0.5928 GB, free: 0.5859 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7563, allocations: 96 / 0.5928 GB, free: 0.5859 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.7563, allocations: 3.984 kB / 0.5928 GB, free: 0.582 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.7582, allocations: 0.7483 MB / 0.5935 GB, free: 15.79 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7582, allocations: 4 kB / 0.5935 GB, free: 15.78 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.7596, allocations: 119.8 kB / 0.5937 GB, free: 15.66 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.7597, allocations: 0 / 0.5937 GB, free: 15.66 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.7598, allocations: 11.98 kB / 0.5937 GB, free: 15.65 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.7598, allocations: 4 kB / 0.5937 GB, free: 15.65 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7598, allocations: 4 kB / 0.5937 GB, free: 15.64 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.7619, allocations: 0.9458 MB / 0.5946 GB, free: 14.66 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.7624, allocations: 196.2 kB / 0.5948 GB, free: 14.45 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.7626, allocations: 4 kB / 0.5948 GB, free: 14.45 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.7637, allocations: 59.94 kB / 0.5948 GB, free: 14.39 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.7639, allocations: 47.83 kB / 0.5949 GB, free: 14.34 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.7639, allocations: 15.98 kB / 0.5949 GB, free: 14.33 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.7647, allocations: 379.2 kB / 0.5953 GB, free: 13.96 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7647, allocations: 0 / 0.5953 GB, free: 13.96 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001262/0.766, allocations: 172 kB / 0.5954 GB, free: 13.8 MB / 443.1 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.002488/0.7685, allocations: 1.658 MB / 0.597 GB, free: 12.1 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.7712, allocations: 0.9427 MB / 0.598 GB, free: 11.13 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7712, allocations: 0 / 0.598 GB, free: 11.13 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.7718, allocations: 211.8 kB / 0.5982 GB, free: 10.92 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.7733, allocations: 167.4 kB / 0.5983 GB, free: 10.76 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.7775, allocations: 1.374 MB / 0.5997 GB, free: 9.336 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.7783, allocations: 0.9691 MB / 0.6006 GB, free: 8.344 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/0.7791, allocations: 263.3 kB / 0.6009 GB, free: 8.086 MB / 443.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7791, allocations: 0 / 0.6009 GB, free: 8.086 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/3.687, allocations: 12.68 MB / 0.6133 GB, free: 11.41 MB / 459.1 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