Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",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.001743/0.001742, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 101.1 kB / 281.6 MB, free: 5.32 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.1949/0.1949, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.672e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 61.91 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.5348, allocations: 96.27 MB / 0.5888 GB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5351, allocations: 67.91 kB / 0.5888 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0855/0.6206, allocations: 29.09 MB / 0.6173 GB, free: 2.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6207, allocations: 0 / 0.6173 GB, free: 2.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.923e-05/0.6207, allocations: 28.38 kB / 0.6173 GB, free: 2.84 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001837/0.6226, allocations: 0.9585 MB / 0.6182 GB, free: 1.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6226, allocations: 11.98 kB / 0.6182 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.6228, allocations: 98.81 kB / 0.6183 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6239, allocations: 0.5745 MB / 0.6189 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.6239, allocations: 20 kB / 0.6189 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.624, allocations: 32 kB / 0.6189 GB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005848/0.6246, allocations: 330.5 kB / 0.6192 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.6253, allocations: 0.49 MB / 0.6197 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.6253, allocations: 12.69 kB / 0.6197 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.6254, allocations: 0 / 0.6197 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.6254, allocations: 15.98 kB / 0.6198 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003386/0.6288, allocations: 2.573 MB / 0.6223 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.6294, allocations: 404.2 kB / 0.6227 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.6297, allocations: 195 kB / 0.6228 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/0.6297, allocations: 8.234 kB / 0.6228 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.6298, allocations: 46.75 kB / 0.6229 GB, free: 12.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.6298, allocations: 0 / 0.6229 GB, free: 12.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001278/0.6311, allocations: 0.7726 MB / 0.6236 GB, free: 12.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.6311, allocations: 110.8 kB / 0.6238 GB, free: 11.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.6317, allocations: 495.8 kB / 0.6242 GB, free: 11.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.6317, allocations: 25.7 kB / 0.6242 GB, free: 11.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.6319, allocations: 356.6 kB / 0.6246 GB, free: 11.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.6321, allocations: 173.4 kB / 0.6248 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6321, allocations: 0 / 0.6248 GB, free: 10.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6323, allocations: 386.8 kB / 0.6251 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.6326, allocations: 193.5 kB / 0.6253 GB, free: 10.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.633, allocations: 343.3 kB / 0.6256 GB, free: 9.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.6335, allocations: 253.7 kB / 0.6259 GB, free: 9.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6335, allocations: 3.938 kB / 0.6259 GB, free: 9.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009795/0.6344, allocations: 0.621 MB / 0.6265 GB, free: 9.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006443/0.6351, allocations: 1.746 MB / 0.6282 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6351, allocations: 7.984 kB / 0.6282 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.6352, allocations: 8.047 kB / 0.6282 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.6362, allocations: 211.7 kB / 0.6284 GB, free: 6.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.6362, allocations: 8 kB / 0.6284 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.6368, allocations: 75.62 kB / 0.6285 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.6368, allocations: 24 kB / 0.6285 GB, free: 6.789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.6368, allocations: 7.953 kB / 0.6285 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008946/0.6377, allocations: 0.5309 MB / 0.629 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6378, allocations: 4 kB / 0.629 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.6378, allocations: 8 kB / 0.629 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.6387, allocations: 195.8 kB / 0.6292 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.6387, allocations: 19.98 kB / 0.6293 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.6392, allocations: 67.55 kB / 0.6293 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.6393, allocations: 28 kB / 0.6293 GB, free: 5.934 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001418/0.6394, allocations: 124.8 kB / 0.6295 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006926/0.6401, allocations: 454.5 kB / 0.6299 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6403, allocations: 83.05 kB / 0.63 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.6405, allocations: 78.92 kB / 0.6301 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6405, allocations: 4 kB / 0.6301 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6405, allocations: 4 kB / 0.6301 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6405, allocations: 3.984 kB / 0.6301 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.6421, allocations: 1.116 MB / 0.6312 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6421, allocations: 0 / 0.6312 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.6428, allocations: 115.9 kB / 0.6313 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.6428, allocations: 8 kB / 0.6313 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.6428, allocations: 15.98 kB / 0.6313 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6429, allocations: 0 / 0.6313 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6429, allocations: 7.938 kB / 0.6313 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.6441, allocations: 0.9895 MB / 0.6323 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.6443, allocations: 192.1 kB / 0.6324 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/0.6444, allocations: 15.94 kB / 0.6325 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.6449, allocations: 55.94 kB / 0.6325 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6451, allocations: 39.88 kB / 0.6326 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.6451, allocations: 19.94 kB / 0.6326 GB, free: 2.496 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004625/0.6456, allocations: 371.2 kB / 0.6329 GB, free: 2.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6456, allocations: 0 / 0.6329 GB, free: 2.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009433/0.6465, allocations: 199.9 kB / 0.6331 GB, free: 1.941 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.00183/0.6484, allocations: 1.855 MB / 0.6349 GB, free: 32 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.6498, allocations: 0.775 MB / 0.6357 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6499, allocations: 0 / 0.6357 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.6502, allocations: 227.8 kB / 0.6359 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/0.6512, allocations: 153.4 kB / 0.636 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6539, allocations: 1.346 MB / 0.6374 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.6545, allocations: 0.9711 MB / 0.6383 GB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000807/0.6553, allocations: 203.1 kB / 0.6385 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.6557, allocations: 251.3 kB / 0.6387 GB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/0.6557, allocations: 0 / 0.6387 GB, free: 12.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.6964, allocations: 14.18 MB / 0.6526 GB, free: 13.92 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6966, allocations: 135.3 kB / 0.6527 GB, free: 13.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.242, allocations: 4 kB / 0.6527 GB, free: 13.72 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat