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.001709/0.001713, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.145/2.145, 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.001147/0.001147, allocations: 91.55 kB / 270.9 MB, free: 8.367 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.5407/0.5407, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004901, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1507, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.583/0.7337, allocations: 95.68 MB / 0.5723 GB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.734, allocations: 67.97 kB / 0.5723 GB, free: 6.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07323/0.8073, allocations: 14.75 MB / 0.5867 GB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8073, allocations: 4 kB / 0.5867 GB, free: 8.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.8074, allocations: 16 kB / 0.5867 GB, free: 8.043 MB / 410.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.004142/0.8116, allocations: 1.1 MB / 0.5878 GB, free: 6.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8117, allocations: 8.031 kB / 0.5878 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002967/0.812, allocations: 86.52 kB / 0.5879 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.8123, allocations: 87.72 kB / 0.588 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.8144, allocations: 0.5975 MB / 0.5886 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/0.8145, allocations: 37 kB / 0.5886 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.8147, allocations: 59.91 kB / 0.5887 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.8167, allocations: 0.6262 MB / 0.5893 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.8168, allocations: 7.922 kB / 0.5893 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.8169, allocations: 20 kB / 0.5893 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.8169, allocations: 19.95 kB / 0.5893 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.819, allocations: 0.4977 MB / 0.5898 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/0.8259, allocations: 2.698 MB / 0.5924 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.8283, allocations: 0.5817 MB / 0.593 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/0.8284, allocations: 12.06 kB / 0.593 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.8285, allocations: 38.59 kB / 0.5931 GB, free: 1.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 6.512e-06/0.8285, allocations: 0 / 0.5931 GB, free: 1.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004888/0.8334, allocations: 1.21 MB / 0.5942 GB, free: 64 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.8336, allocations: 144.4 kB / 0.5944 GB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.8351, allocations: 0.5778 MB / 0.5949 GB, free: 15.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.8353, allocations: 33.7 kB / 0.595 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.8357, allocations: 366.5 kB / 0.5953 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.836, allocations: 177.5 kB / 0.5955 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.8361, allocations: 8 kB / 0.5955 GB, free: 14.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8363, allocations: 334.8 kB / 0.5958 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.8376, allocations: 289.1 kB / 0.5961 GB, free: 14.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.839, allocations: 445.8 kB / 0.5965 GB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.8404, allocations: 329.2 kB / 0.5968 GB, free: 13.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.8405, allocations: 3.938 kB / 0.5968 GB, free: 13.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003042/0.8435, allocations: 0.784 MB / 0.5976 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009891/0.8445, allocations: 1.743 MB / 0.5993 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.8446, allocations: 15.97 kB / 0.5993 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.8446, allocations: 12 kB / 0.5993 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.8461, allocations: 151.8 kB / 0.5995 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.8462, allocations: 15.92 kB / 0.5995 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.8474, allocations: 99.53 kB / 0.5996 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8475, allocations: 24 kB / 0.5996 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8476, allocations: 3.125 kB / 0.5996 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002749/0.8503, allocations: 0.7231 MB / 0.6003 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8504, allocations: 4 kB / 0.6003 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8504, allocations: 11.95 kB / 0.6003 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.8517, allocations: 160.3 kB / 0.6005 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.8518, allocations: 15.92 kB / 0.6005 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.8525, allocations: 71.59 kB / 0.6006 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.8526, allocations: 31.98 kB / 0.6006 GB, free: 9.281 MB / 426.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 (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.000611/0.8532, allocations: 277 kB / 0.6009 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.8536, allocations: 75.06 kB / 0.6009 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.8539, allocations: 90.28 kB / 0.601 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8539, allocations: 11.89 kB / 0.601 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.8539, allocations: 0 / 0.601 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.8539, allocations: 7.984 kB / 0.601 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.8563, allocations: 0.8453 MB / 0.6019 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.8563, allocations: 3.938 kB / 0.6019 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.8578, allocations: 111.9 kB / 0.602 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/0.8578, allocations: 11.94 kB / 0.602 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.858, allocations: 12 kB / 0.602 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.858, allocations: 4 kB / 0.602 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.858, allocations: 0 / 0.602 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.8621, allocations: 1.232 MB / 0.6032 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.8627, allocations: 196.2 kB / 0.6034 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.8629, allocations: 20 kB / 0.6034 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.864, allocations: 59.94 kB / 0.6035 GB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.8642, allocations: 43.94 kB / 0.6035 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.8643, allocations: 11.98 kB / 0.6035 GB, free: 6.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.8655, allocations: 467 kB / 0.604 GB, free: 5.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8655, allocations: 0 / 0.604 GB, free: 5.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001374/0.8669, allocations: 199.9 kB / 0.6042 GB, free: 5.516 MB / 426.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.004704/0.8716, allocations: 1.936 MB / 0.6061 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004151/0.8758, allocations: 1.019 MB / 0.6071 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8759, allocations: 0 / 0.6071 GB, free: 2.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.8772, allocations: 301.3 kB / 0.6073 GB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8789, allocations: 176.9 kB / 0.6075 GB, free: 2.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.8954, allocations: 7.815 MB / 0.6151 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/0.8963, allocations: 0.9692 MB / 0.6161 GB, free: 9.051 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.8972, allocations: 259.3 kB / 0.6163 GB, free: 8.797 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8972, allocations: 0 / 0.6163 GB, free: 8.797 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.831, allocations: 11.68 MB / 0.6277 GB, free: 13.15 MB / 458.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