Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 103 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3041/0.3041, allocations: 44.23 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004589, allocations: 8 kB / 460 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3926, allocations: 61.9 MB / 0.5096 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.5055, allocations: 90.08 MB / 0.5976 GB, free: 5.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5058, allocations: 75.94 kB / 0.5977 GB, free: 4.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03916/0.545, allocations: 15.4 MB / 0.6127 GB, free: 5.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.545, allocations: 0 / 0.6127 GB, free: 5.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.478e-05/0.5451, allocations: 20 kB / 0.6127 GB, free: 5.488 MB / 426.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.001922/0.547, allocations: 1.187 MB / 0.6139 GB, free: 4.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5471, allocations: 16.02 kB / 0.6139 GB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.5472, allocations: 102.5 kB / 0.614 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.5474, allocations: 114.6 kB / 0.6141 GB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009158/0.5483, allocations: 0.621 MB / 0.6147 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.5483, allocations: 49.31 kB / 0.6148 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.5484, allocations: 60 kB / 0.6148 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.5496, allocations: 0.7523 MB / 0.6156 GB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5496, allocations: 7.938 kB / 0.6156 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.5497, allocations: 31.95 kB / 0.6156 GB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5497, allocations: 16 kB / 0.6156 GB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5508, allocations: 0.5885 MB / 0.6162 GB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.5542, allocations: 2.784 MB / 0.6189 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.5557, allocations: 0.7349 MB / 0.6196 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.5558, allocations: 16.02 kB / 0.6196 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5558, allocations: 46.56 kB / 0.6197 GB, free: 14.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.426e-06/0.5558, allocations: 0 / 0.6197 GB, free: 14.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001775/0.5576, allocations: 0.8661 MB / 0.6205 GB, free: 13.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5577, allocations: 235.3 kB / 0.6208 GB, free: 12.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.5584, allocations: 0.6101 MB / 0.6214 GB, free: 12.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5585, allocations: 33.7 kB / 0.6214 GB, free: 12.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.5588, allocations: 432.5 kB / 0.6218 GB, free: 11.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5589, allocations: 181.3 kB / 0.622 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.5589, allocations: 12 kB / 0.622 GB, free: 11.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5591, allocations: 329.9 kB / 0.6223 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.5595, allocations: 245 kB / 0.6225 GB, free: 11.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.5601, allocations: 384 kB / 0.6229 GB, free: 10.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.5607, allocations: 272 kB / 0.6232 GB, free: 10.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5607, allocations: 8 kB / 0.6232 GB, free: 10.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00244/0.5631, allocations: 1.103 MB / 0.6242 GB, free: 9.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000406/0.5635, allocations: 1.136 MB / 0.6254 GB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5636, allocations: 3.938 kB / 0.6254 GB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.5648, allocations: 363.1 kB / 0.6257 GB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.5653, allocations: 135.8 kB / 0.6258 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.5697, allocations: 3.84 MB / 0.6296 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.5703, allocations: 99.42 kB / 0.6297 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.5703, allocations: 20 kB / 0.6297 GB, free: 3.355 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.5703, allocations: 4 kB / 0.6297 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/0.5717, allocations: 0.6683 MB / 0.6304 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5717, allocations: 4 kB / 0.6304 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.5722, allocations: 153.9 kB / 0.6305 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.5729, allocations: 175.8 kB / 0.6307 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.5761, allocations: 3.304 MB / 0.6339 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.5766, allocations: 67.5 kB / 0.634 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.5767, allocations: 24.06 kB / 0.634 GB, free: 14.69 MB / 458.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 () * Number of clocked 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.0004511/0.5771, allocations: 292.9 kB / 0.6343 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5773, allocations: 94.81 kB / 0.6344 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.5775, allocations: 103.1 kB / 0.6345 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5775, allocations: 8 kB / 0.6345 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5775, allocations: 0 / 0.6345 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5775, allocations: 3.984 kB / 0.6345 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.5785, allocations: 0.7389 MB / 0.6352 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5785, allocations: 4 kB / 0.6352 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.5791, allocations: 119.9 kB / 0.6353 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5791, allocations: 0 / 0.6353 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.5791, allocations: 12 kB / 0.6353 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5791, allocations: 7.984 kB / 0.6353 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5791, allocations: 4 kB / 0.6353 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.5809, allocations: 1.316 MB / 0.6366 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.5812, allocations: 203.9 kB / 0.6368 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.5812, allocations: 15.98 kB / 0.6368 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.5817, allocations: 55.97 kB / 0.6369 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.5818, allocations: 35.91 kB / 0.6369 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.5819, allocations: 12 kB / 0.6369 GB, free: 11.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005011/0.5824, allocations: 483 kB / 0.6374 GB, free: 11.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5824, allocations: 0 / 0.6374 GB, free: 11.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008326/0.5832, allocations: 271.1 kB / 0.6376 GB, free: 10.82 MB / 458.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 () * Number of clocked 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.002125/0.5854, allocations: 2.095 MB / 0.6397 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003721/0.5891, allocations: 1.673 MB / 0.6413 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5891, allocations: 3.938 kB / 0.6413 GB, free: 6.973 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.5897, allocations: 307.7 kB / 0.6416 GB, free: 6.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5907, allocations: 204.9 kB / 0.6418 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/0.5991, allocations: 7.091 MB / 0.6487 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.5996, allocations: 0.9959 MB / 0.6497 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.6, allocations: 89.09 kB / 0.6498 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.6004, allocations: 319.3 kB / 0.6501 GB, free: 13.71 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6004, allocations: 0 / 0.6501 GB, free: 13.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.6334, allocations: 17.87 MB / 0.6676 GB, free: 12.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.6336, allocations: 181.7 kB / 0.6677 GB, free: 11.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.025, allocations: 0 / 0.6677 GB, free: 11.82 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat