Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.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.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",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.001095/0.001095, allocations: 184.2 kB / 17.06 MB, free: 5.074 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.317/1.317, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008536/0.0008536, allocations: 91.39 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.3243/0.3243, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 8 kB / 460 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3536, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4781, allocations: 96.51 MB / 0.6039 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.4784, allocations: 75.94 kB / 0.604 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04375/0.5222, allocations: 14.72 MB / 0.6183 GB, free: 15.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5222, allocations: 0 / 0.6183 GB, free: 15.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.382e-05/0.5223, allocations: 23.98 kB / 0.6183 GB, free: 15.75 MB / 442.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.00269/0.525, allocations: 1.082 MB / 0.6194 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5251, allocations: 12.03 kB / 0.6194 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.5253, allocations: 82.53 kB / 0.6195 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.5255, allocations: 90.88 kB / 0.6196 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5269, allocations: 0.5975 MB / 0.6202 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.527, allocations: 37 kB / 0.6202 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.5271, allocations: 59.91 kB / 0.6203 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.5282, allocations: 0.6174 MB / 0.6209 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.5282, allocations: 7.938 kB / 0.6209 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.5283, allocations: 20 kB / 0.6209 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5283, allocations: 16 kB / 0.6209 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.5294, allocations: 0.4928 MB / 0.6214 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.5334, allocations: 2.714 MB / 0.624 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.5346, allocations: 0.586 MB / 0.6246 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.5347, allocations: 4.062 kB / 0.6246 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5347, allocations: 42.59 kB / 0.6246 GB, free: 9.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.5347, allocations: 4 kB / 0.6247 GB, free: 9 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002521/0.5373, allocations: 1.195 MB / 0.6258 GB, free: 7.797 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.5374, allocations: 136.5 kB / 0.6259 GB, free: 7.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.5384, allocations: 0.5816 MB / 0.6265 GB, free: 7.043 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.5384, allocations: 37.7 kB / 0.6266 GB, free: 7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.5387, allocations: 352.1 kB / 0.6269 GB, free: 6.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.5389, allocations: 173.5 kB / 0.6271 GB, free: 6.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.5389, allocations: 16 kB / 0.6271 GB, free: 6.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.539, allocations: 330 kB / 0.6274 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/0.5397, allocations: 289.1 kB / 0.6277 GB, free: 5.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/0.5404, allocations: 441.2 kB / 0.6281 GB, free: 5.352 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.5411, allocations: 337.1 kB / 0.6284 GB, free: 5.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5411, allocations: 3.984 kB / 0.6284 GB, free: 5.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00162/0.5427, allocations: 0.8383 MB / 0.6292 GB, free: 4.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007012/0.5434, allocations: 1.742 MB / 0.6309 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5434, allocations: 8 kB / 0.6309 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5435, allocations: 15.94 kB / 0.6309 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.5442, allocations: 155.8 kB / 0.6311 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.5442, allocations: 11.94 kB / 0.6311 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.5448, allocations: 95.62 kB / 0.6312 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.5449, allocations: 23.98 kB / 0.6312 GB, free: 1.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.5449, allocations: 6.188 kB / 0.6312 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.5463, allocations: 0.7159 MB / 0.6319 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5463, allocations: 4 kB / 0.6319 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5464, allocations: 8 kB / 0.6319 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.547, allocations: 164.3 kB / 0.6321 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.547, allocations: 11.94 kB / 0.6321 GB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.5476, allocations: 83.62 kB / 0.6322 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.5476, allocations: 27.95 kB / 0.6322 GB, free: 0.9805 MB / 442.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.0003698/0.548, allocations: 280.9 kB / 0.6325 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.5482, allocations: 79.06 kB / 0.6326 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.5484, allocations: 90.2 kB / 0.6326 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5484, allocations: 7.938 kB / 0.6327 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.5484, allocations: 0 / 0.6327 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5484, allocations: 7.984 kB / 0.6327 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.5498, allocations: 0.8453 MB / 0.6335 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5498, allocations: 0 / 0.6335 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.5505, allocations: 115.9 kB / 0.6336 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5505, allocations: 7.984 kB / 0.6336 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.5506, allocations: 12 kB / 0.6336 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.5506, allocations: 8 kB / 0.6336 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5506, allocations: 3.953 kB / 0.6336 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.5527, allocations: 1.227 MB / 0.6348 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.553, allocations: 212.1 kB / 0.635 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.5532, allocations: 8 kB / 0.635 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.5537, allocations: 67.94 kB / 0.6351 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5539, allocations: 39.88 kB / 0.6351 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.5539, allocations: 15.98 kB / 0.6352 GB, free: 13.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007152/0.5546, allocations: 459 kB / 0.6356 GB, free: 13.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5547, allocations: 0 / 0.6356 GB, free: 13.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008464/0.5555, allocations: 196 kB / 0.6358 GB, free: 13.21 MB / 458.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.002562/0.5581, allocations: 1.94 MB / 0.6377 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.5603, allocations: 1.017 MB / 0.6387 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5603, allocations: 0 / 0.6387 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.561, allocations: 311 kB / 0.639 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.5619, allocations: 167.9 kB / 0.6391 GB, free: 9.754 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009794/0.5717, allocations: 7.746 MB / 0.6467 GB, free: 1.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.5723, allocations: 0.9653 MB / 0.6476 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005996/0.573, allocations: 152.8 kB / 0.6478 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.5733, allocations: 255.3 kB / 0.648 GB, free: 420 kB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5734, allocations: 0 / 0.648 GB, free: 420 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.6023, allocations: 13.47 MB / 0.6612 GB, free: 3.121 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.6025, allocations: 158 kB / 0.6613 GB, free: 2.883 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.811, allocations: 0 / 0.6613 GB, free: 2.883 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat