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.001571/0.001571, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.137/2.137, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001144/0.001144, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3704/0.3704, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.976e-05, allocations: 7.984 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5531/0.68, allocations: 95.86 MB / 0.5665 GB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.6803, allocations: 66.16 kB / 0.5666 GB, free: 7.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1393/0.8196, allocations: 20.14 MB / 0.5862 GB, free: 6.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.732e-06/0.8197, allocations: 0 / 0.5862 GB, free: 6.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001841/0.8199, allocations: 23.94 kB / 0.5863 GB, free: 6.715 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.004731/0.8247, allocations: 0.9516 MB / 0.5872 GB, free: 5.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.8248, allocations: 8.031 kB / 0.5872 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003631/0.8252, allocations: 95.14 kB / 0.5873 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.8256, allocations: 86.97 kB / 0.5874 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.8284, allocations: 0.5592 MB / 0.5879 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.8286, allocations: 36 kB / 0.5879 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.8289, allocations: 59.66 kB / 0.588 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.831, allocations: 0.5438 MB / 0.5885 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.8311, allocations: 0 / 0.5885 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.8313, allocations: 34.69 kB / 0.5886 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.8313, allocations: 12 kB / 0.5886 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.833, allocations: 377.2 kB / 0.5889 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/0.8427, allocations: 2.664 MB / 0.5915 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.8448, allocations: 471.7 kB / 0.592 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/0.8457, allocations: 210 kB / 0.5922 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.8459, allocations: 4 kB / 0.5922 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.846, allocations: 50.34 kB / 0.5922 GB, free: 1.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 5.441e-06/0.846, allocations: 0 / 0.5922 GB, free: 1.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003574/0.8496, allocations: 0.8075 MB / 0.593 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.8498, allocations: 132.5 kB / 0.5932 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.8515, allocations: 0.549 MB / 0.5937 GB, free: 52 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.8518, allocations: 39.77 kB / 0.5937 GB, free: 16 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.8523, allocations: 359.9 kB / 0.5941 GB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.8527, allocations: 183.2 kB / 0.5943 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.8528, allocations: 9.188 kB / 0.5943 GB, free: 15.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.853, allocations: 336.7 kB / 0.5946 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008968/0.8539, allocations: 201.8 kB / 0.5948 GB, free: 15.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.8551, allocations: 356.1 kB / 0.5951 GB, free: 14.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8562, allocations: 239 kB / 0.5953 GB, free: 14.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.8563, allocations: 4 kB / 0.5953 GB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002601/0.8589, allocations: 0.6487 MB / 0.596 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001151/0.8601, allocations: 1.742 MB / 0.5977 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/0.8602, allocations: 8 kB / 0.5977 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.8608, allocations: 63.81 kB / 0.5977 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.8637, allocations: 202.8 kB / 0.5979 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.8676, allocations: 1.495 MB / 0.5994 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.8698, allocations: 93.47 kB / 0.5995 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.87, allocations: 27.53 kB / 0.5995 GB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8701, allocations: 7.281 kB / 0.5995 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002753/0.8728, allocations: 0.6062 MB / 0.6001 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.8729, allocations: 8.031 kB / 0.6001 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.8733, allocations: 60.36 kB / 0.6002 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.8759, allocations: 198.6 kB / 0.6004 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/0.876, allocations: 15.94 kB / 0.6004 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.8772, allocations: 70.47 kB / 0.6005 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.8773, allocations: 27.8 kB / 0.6005 GB, free: 9.637 MB / 410.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.0003963/0.8778, allocations: 150.2 kB / 0.6006 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.8783, allocations: 75.06 kB / 0.6007 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.8787, allocations: 81.64 kB / 0.6008 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.8788, allocations: 8 kB / 0.6008 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.8788, allocations: 0 / 0.6008 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.8788, allocations: 3.984 kB / 0.6008 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.8819, allocations: 0.8223 MB / 0.6016 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.882, allocations: 0 / 0.6016 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.884, allocations: 111.8 kB / 0.6017 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.8841, allocations: 4 kB / 0.6017 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.8843, allocations: 19.73 kB / 0.6017 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.8843, allocations: 4 kB / 0.6017 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.8843, allocations: 0 / 0.6017 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.8875, allocations: 0.9931 MB / 0.6027 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007379/0.8883, allocations: 199.4 kB / 0.6029 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.8886, allocations: 11 kB / 0.6029 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.8903, allocations: 70.27 kB / 0.603 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.8906, allocations: 38.75 kB / 0.603 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.8907, allocations: 14.75 kB / 0.603 GB, free: 7.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.8921, allocations: 435.2 kB / 0.6034 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.223e-06/0.8921, allocations: 0 / 0.6034 GB, free: 7.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002409/0.8945, allocations: 205.9 kB / 0.6036 GB, free: 6.938 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.003859/0.8984, allocations: 1.692 MB / 0.6053 GB, free: 5.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.9028, allocations: 0.994 MB / 0.6062 GB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.9029, allocations: 0 / 0.6062 GB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009962/0.9039, allocations: 223.1 kB / 0.6065 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.9063, allocations: 165.4 kB / 0.6066 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.913, allocations: 1.418 MB / 0.608 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.9141, allocations: 0.9679 MB / 0.6089 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.9152, allocations: 270.4 kB / 0.6092 GB, free: 1.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.9152, allocations: 0 / 0.6092 GB, free: 1.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.033/3.948, allocations: 12.83 MB / 0.6217 GB, free: 5.297 MB / 426.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