Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009534/0.0009535, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008384/0.0008384, allocations: 97.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.743e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5604/0.6715, allocations: 97.12 MB / 0.5993 GB, free: 5.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6718, allocations: 67.53 kB / 0.5994 GB, free: 5.203 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08163/0.7535, allocations: 20.05 MB / 0.6189 GB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7536, allocations: 0 / 0.6189 GB, free: 4.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.7537, allocations: 27.92 kB / 0.619 GB, free: 4.398 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.003051/0.7568, allocations: 0.9516 MB / 0.6199 GB, free: 3.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.7568, allocations: 12.03 kB / 0.6199 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.7576, allocations: 103 kB / 0.62 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.7592, allocations: 0.5473 MB / 0.6205 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.7593, allocations: 16 kB / 0.6206 GB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.7595, allocations: 39.89 kB / 0.6206 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009992/0.7605, allocations: 337.5 kB / 0.6209 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.7617, allocations: 0.4976 MB / 0.6214 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.7617, allocations: 3.938 kB / 0.6214 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.7618, allocations: 4 kB / 0.6214 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.7618, allocations: 8 kB / 0.6214 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.7672, allocations: 2.574 MB / 0.6239 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7683, allocations: 453.7 kB / 0.6244 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.7687, allocations: 186.6 kB / 0.6245 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.08e-05/0.7688, allocations: 4 kB / 0.6245 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.7689, allocations: 46.61 kB / 0.6246 GB, free: 15.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.667e-06/0.7689, allocations: 0 / 0.6246 GB, free: 15.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001974/0.7709, allocations: 0.7682 MB / 0.6253 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.64e-05/0.771, allocations: 135.8 kB / 0.6255 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/0.7719, allocations: 497.5 kB / 0.6259 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.772, allocations: 25.7 kB / 0.626 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.7724, allocations: 363.5 kB / 0.6263 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.7726, allocations: 165.8 kB / 0.6265 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.7727, allocations: 0 / 0.6265 GB, free: 13.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.773, allocations: 389.9 kB / 0.6268 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.7735, allocations: 187.5 kB / 0.627 GB, free: 13.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.7741, allocations: 341.9 kB / 0.6274 GB, free: 12.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.7747, allocations: 231.8 kB / 0.6276 GB, free: 12.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7747, allocations: 0 / 0.6276 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001662/0.7764, allocations: 0.6348 MB / 0.6282 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000956/0.7773, allocations: 1.747 MB / 0.6299 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7773, allocations: 4 kB / 0.6299 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.7777, allocations: 64.12 kB / 0.63 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.7791, allocations: 203.5 kB / 0.6302 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.7808, allocations: 1.449 MB / 0.6316 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/0.7817, allocations: 83.72 kB / 0.6317 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.7818, allocations: 30.64 kB / 0.6317 GB, free: 8.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.7818, allocations: 4 kB / 0.6317 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.7831, allocations: 0.5243 MB / 0.6322 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.7832, allocations: 8 kB / 0.6322 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.7834, allocations: 63.38 kB / 0.6323 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.7846, allocations: 199.5 kB / 0.6325 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.7863, allocations: 1.455 MB / 0.6339 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008449/0.7871, allocations: 75.78 kB / 0.634 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.7872, allocations: 26.94 kB / 0.634 GB, free: 6.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.7875, allocations: 120.8 kB / 0.6341 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001177/0.7887, allocations: 446.8 kB / 0.6345 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/0.789, allocations: 75.16 kB / 0.6346 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.7893, allocations: 76.83 kB / 0.6347 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7893, allocations: 11.98 kB / 0.6347 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7893, allocations: 0 / 0.6347 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.7893, allocations: 0 / 0.6347 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.791, allocations: 0.7597 MB / 0.6354 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7911, allocations: 0 / 0.6354 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009448/0.792, allocations: 115.4 kB / 0.6355 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.792, allocations: 4 kB / 0.6355 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.688e-05/0.7921, allocations: 7.312 kB / 0.6355 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7921, allocations: 7.984 kB / 0.6355 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7921, allocations: 0 / 0.6355 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.7938, allocations: 0.9515 MB / 0.6365 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.7941, allocations: 197.9 kB / 0.6367 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7943, allocations: 4 kB / 0.6367 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.7951, allocations: 55.94 kB / 0.6367 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.7952, allocations: 42.77 kB / 0.6368 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.7953, allocations: 15.81 kB / 0.6368 GB, free: 3.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006715/0.796, allocations: 380.1 kB / 0.6371 GB, free: 3.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.796, allocations: 4 kB / 0.6371 GB, free: 3.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001344/0.7973, allocations: 175.9 kB / 0.6373 GB, free: 3.395 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 () * 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.002125/0.7995, allocations: 1.647 MB / 0.6389 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.8019, allocations: 0.9843 MB / 0.6399 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8019, allocations: 0 / 0.6399 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.8024, allocations: 216.7 kB / 0.6401 GB, free: 1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.8037, allocations: 171.1 kB / 0.6402 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.8076, allocations: 1.335 MB / 0.6416 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.8084, allocations: 0.9659 MB / 0.6425 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.8096, allocations: 191 kB / 0.6427 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.8101, allocations: 249.6 kB / 0.6429 GB, free: 14.37 MB / 442.7 MB Notification: Performance of SimCode: time 6.22e-07/0.8101, allocations: 0 / 0.6429 GB, free: 14.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05134/0.8614, allocations: 14.19 MB / 0.6568 GB, free: 240 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.8617, allocations: 141.9 kB / 0.6569 GB, free: 36 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.297, allocations: 0 / 0.6569 GB, free: 36 kB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat