Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",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.001311/0.001311, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 94.08 kB / 261.8 MB, free: 1.676 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.2059/0.2059, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.759e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5085, allocations: 88.39 MB / 0.5523 GB, free: 6.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.5087, allocations: 67.94 kB / 0.5524 GB, free: 6.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0376/0.5463, allocations: 15.47 MB / 0.5675 GB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.5464, allocations: 0 / 0.5675 GB, free: 10.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.585e-05/0.5465, allocations: 20.22 kB / 0.5675 GB, free: 10.22 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00155/0.548, allocations: 1.066 MB / 0.5686 GB, free: 9.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5481, allocations: 8.031 kB / 0.5686 GB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.5483, allocations: 126.4 kB / 0.5687 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.5491, allocations: 0.634 MB / 0.5693 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.5492, allocations: 23.98 kB / 0.5693 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.5493, allocations: 36 kB / 0.5694 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006728/0.5499, allocations: 399.7 kB / 0.5698 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.5508, allocations: 0.578 MB / 0.5703 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5508, allocations: 3.938 kB / 0.5703 GB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.5509, allocations: 4 kB / 0.5703 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5509, allocations: 16 kB / 0.5703 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.5539, allocations: 2.656 MB / 0.5729 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.5548, allocations: 0.5246 MB / 0.5735 GB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.5551, allocations: 204.6 kB / 0.5736 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.5551, allocations: 16.98 kB / 0.5737 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.5552, allocations: 45.5 kB / 0.5737 GB, free: 4.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 1.964e-06/0.5552, allocations: 0 / 0.5737 GB, free: 4.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007411/0.5559, allocations: 449.3 kB / 0.5741 GB, free: 4.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.556, allocations: 242.6 kB / 0.5744 GB, free: 4.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.5566, allocations: 0.5277 MB / 0.5749 GB, free: 3.727 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.5566, allocations: 25.7 kB / 0.5749 GB, free: 3.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.5569, allocations: 439.1 kB / 0.5753 GB, free: 3.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.557, allocations: 179.9 kB / 0.5755 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.557, allocations: 0 / 0.5755 GB, free: 3.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5571, allocations: 332.1 kB / 0.5758 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.5574, allocations: 149.9 kB / 0.576 GB, free: 2.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.5577, allocations: 286.2 kB / 0.5762 GB, free: 2.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.558, allocations: 194.7 kB / 0.5764 GB, free: 2.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.558, allocations: 0 / 0.5764 GB, free: 2.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001777/0.5598, allocations: 0.833 MB / 0.5772 GB, free: 1.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.5602, allocations: 1.147 MB / 0.5783 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5602, allocations: 4 kB / 0.5784 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/0.561, allocations: 255.9 kB / 0.5786 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.5616, allocations: 131.7 kB / 0.5787 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.5651, allocations: 3.554 MB / 0.5822 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.5657, allocations: 79.44 kB / 0.5823 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.5657, allocations: 15.5 kB / 0.5823 GB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.5658, allocations: 8.062 kB / 0.5823 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/0.5668, allocations: 0.5063 MB / 0.5828 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5668, allocations: 4 kB / 0.5828 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.5672, allocations: 130 kB / 0.5829 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.5679, allocations: 170.7 kB / 0.5831 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.5707, allocations: 3.018 MB / 0.586 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.5713, allocations: 55.62 kB / 0.5861 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.5713, allocations: 19 kB / 0.5861 GB, free: 9.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.5715, allocations: 117.4 kB / 0.5862 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007064/0.5722, allocations: 458.1 kB / 0.5866 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.5724, allocations: 86.88 kB / 0.5867 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.5726, allocations: 99.45 kB / 0.5868 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.5726, allocations: 8 kB / 0.5868 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.5726, allocations: 0 / 0.5868 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5726, allocations: 3.984 kB / 0.5868 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.5735, allocations: 0.6493 MB / 0.5875 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5735, allocations: 0 / 0.5875 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.5741, allocations: 127.9 kB / 0.5876 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5741, allocations: 4 kB / 0.5876 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.5742, allocations: 8 kB / 0.5876 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.5742, allocations: 4 kB / 0.5876 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5742, allocations: 0 / 0.5876 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5752, allocations: 1.047 MB / 0.5886 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.5755, allocations: 197.6 kB / 0.5888 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.5755, allocations: 11.62 kB / 0.5888 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.5761, allocations: 47.95 kB / 0.5889 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.5761, allocations: 35.33 kB / 0.5889 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.5762, allocations: 18.7 kB / 0.5889 GB, free: 6.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004176/0.5766, allocations: 402.5 kB / 0.5893 GB, free: 6.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5766, allocations: 0 / 0.5893 GB, free: 6.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009021/0.5775, allocations: 258.8 kB / 0.5896 GB, free: 6.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.001359/0.5789, allocations: 1.798 MB / 0.5913 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.582, allocations: 1.43 MB / 0.5927 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.582, allocations: 4 kB / 0.5927 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.5823, allocations: 209.4 kB / 0.5929 GB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5835, allocations: 198.9 kB / 0.5931 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.5859, allocations: 1.226 MB / 0.5943 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.5864, allocations: 1.01 MB / 0.5953 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.587, allocations: 147.5 kB / 0.5954 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.5874, allocations: 322.3 kB / 0.5957 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5874, allocations: 0 / 0.5957 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.6275, allocations: 17.8 MB / 0.6131 GB, free: 14.81 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.6277, allocations: 116.8 kB / 0.6132 GB, free: 14.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.145, allocations: 3.938 kB / 0.6132 GB, free: 14.61 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat