Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",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.002541/0.00254, allocations: 182.4 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.039/2.039, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001119/0.001118, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.2799/0.2799, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.061e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5881/0.7085, allocations: 95.6 MB / 0.5662 GB, free: 8.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.7088, allocations: 70.44 kB / 0.5663 GB, free: 8.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07467/0.7834, allocations: 14.7 MB / 0.5807 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7835, allocations: 3.938 kB / 0.5807 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.7836, allocations: 20 kB / 0.5807 GB, free: 11.57 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.003219/0.7869, allocations: 0.9581 MB / 0.5816 GB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.787, allocations: 15.97 kB / 0.5816 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.7872, allocations: 86.45 kB / 0.5817 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.7876, allocations: 94.92 kB / 0.5818 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.7894, allocations: 0.5543 MB / 0.5824 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.7895, allocations: 39.73 kB / 0.5824 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.7896, allocations: 54.5 kB / 0.5824 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.791, allocations: 0.5485 MB / 0.583 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.7911, allocations: 4 kB / 0.583 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.7911, allocations: 15 kB / 0.583 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.7912, allocations: 15.95 kB / 0.583 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.7923, allocations: 381.2 kB / 0.5834 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.7986, allocations: 2.703 MB / 0.586 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.8001, allocations: 481.7 kB / 0.5865 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.8006, allocations: 202.4 kB / 0.5867 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/0.8007, allocations: 8 kB / 0.5867 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.8007, allocations: 38.41 kB / 0.5867 GB, free: 6.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.597e-06/0.8008, allocations: 0 / 0.5867 GB, free: 6.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.002319/0.8031, allocations: 0.8141 MB / 0.5875 GB, free: 5.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8032, allocations: 132.5 kB / 0.5876 GB, free: 5.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.8043, allocations: 0.5451 MB / 0.5882 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.8044, allocations: 33.52 kB / 0.5882 GB, free: 4.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.8047, allocations: 369.3 kB / 0.5885 GB, free: 4.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.8049, allocations: 174.6 kB / 0.5887 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.805, allocations: 13.56 kB / 0.5887 GB, free: 4.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8052, allocations: 337.8 kB / 0.5891 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.8058, allocations: 205.1 kB / 0.5892 GB, free: 3.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/0.8066, allocations: 366.2 kB / 0.5896 GB, free: 3.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.8073, allocations: 254.3 kB / 0.5898 GB, free: 3.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8073, allocations: 4 kB / 0.5898 GB, free: 3.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001668/0.809, allocations: 0.6246 MB / 0.5905 GB, free: 2.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008309/0.8098, allocations: 1.742 MB / 0.5922 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.8099, allocations: 4 kB / 0.5922 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.8099, allocations: 12 kB / 0.5922 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.8114, allocations: 166.6 kB / 0.5923 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.8114, allocations: 8 kB / 0.5923 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.8125, allocations: 93.72 kB / 0.5924 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.8126, allocations: 23.62 kB / 0.5924 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8127, allocations: 4 kB / 0.5925 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.8143, allocations: 0.5809 MB / 0.593 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8143, allocations: 4 kB / 0.593 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8143, allocations: 12.52 kB / 0.593 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.8156, allocations: 162 kB / 0.5932 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.8157, allocations: 8 kB / 0.5932 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.8163, allocations: 73.77 kB / 0.5933 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.8164, allocations: 27.62 kB / 0.5933 GB, free: 192 kB / 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0002355/0.8167, allocations: 141 kB / 0.5934 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.817, allocations: 75.11 kB / 0.5935 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.8173, allocations: 87.41 kB / 0.5936 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.8173, allocations: 11.94 kB / 0.5936 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8174, allocations: 0 / 0.5936 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.8174, allocations: 0 / 0.5936 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.8192, allocations: 0.8175 MB / 0.5944 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.8193, allocations: 0 / 0.5944 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.8207, allocations: 130.9 kB / 0.5945 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.8207, allocations: 3.953 kB / 0.5945 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.8208, allocations: 15.31 kB / 0.5945 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.8208, allocations: 0 / 0.5945 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.8208, allocations: 4 kB / 0.5945 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.823, allocations: 0.986 MB / 0.5955 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.8234, allocations: 201.1 kB / 0.5957 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.8236, allocations: 15.69 kB / 0.5957 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8247, allocations: 65.75 kB / 0.5958 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.8249, allocations: 41.75 kB / 0.5958 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.8249, allocations: 11.38 kB / 0.5958 GB, free: 13.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008429/0.8258, allocations: 433.6 kB / 0.5962 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8258, allocations: 4 kB / 0.5962 GB, free: 13.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001229/0.827, allocations: 194.8 kB / 0.5964 GB, free: 13.5 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.0026/0.8297, allocations: 1.69 MB / 0.5981 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.832, allocations: 0.7915 MB / 0.5988 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.832, allocations: 3.938 kB / 0.5989 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.8327, allocations: 219.7 kB / 0.5991 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.8343, allocations: 170 kB / 0.5992 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.8389, allocations: 1.413 MB / 0.6006 GB, free: 9.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.8397, allocations: 0.973 MB / 0.6016 GB, free: 8.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/0.8404, allocations: 266 kB / 0.6018 GB, free: 8.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8405, allocations: 0 / 0.6018 GB, free: 8.758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.884/3.724, allocations: 11.6 MB / 0.6131 GB, free: 13.33 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat