Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008682/0.0008681, allocations: 99.67 kB / 17.01 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 198 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1636, allocations: 63.46 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003936/0.1675, allocations: 2.844 MB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1709, allocations: 1.509 MB / 486 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.1713, allocations: 23.88 kB / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.1718, allocations: 103.2 kB / 486.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.1722, allocations: 155 kB / 486.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1732, allocations: 430.9 kB / 486.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009337/0.1742, allocations: 0.8186 MB / 487.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1745, allocations: 169.2 kB / 487.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.175, allocations: 306.6 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.1756, allocations: 342.3 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.1757, allocations: 20 kB / 488.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.1759, allocations: 139.8 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1761, allocations: 143.3 kB / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1762, allocations: 129.3 kB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1769, allocations: 0.6275 MB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1769, allocations: 4 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1769, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1769, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 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.00222/0.1791, allocations: 1.071 MB / 490.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1792, allocations: 8.031 kB / 490.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.1793, allocations: 86.52 kB / 490.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.1796, allocations: 98.95 kB / 490.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.1806, allocations: 0.5342 MB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.1806, allocations: 44.98 kB / 491.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.1807, allocations: 56 kB / 491.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.182, allocations: 0.626 MB / 491.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.182, allocations: 7.906 kB / 491.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.1821, allocations: 23.98 kB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1821, allocations: 12 kB / 491.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1832, allocations: 497.8 kB / 492.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.1867, allocations: 2.679 MB / 495.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1877, allocations: 0.5417 MB / 495.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.1883, allocations: 293.5 kB / 495.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.1884, allocations: 8.234 kB / 495.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1884, allocations: 38.8 kB / 496 MB, free: 6.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.1884, allocations: 0 / 496 MB, free: 6.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002488/0.1909, allocations: 1.225 MB / 497.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.191, allocations: 166.1 kB / 497.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000856/0.1919, allocations: 0.6412 MB / 498 MB, free: 4.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.192, allocations: 37.64 kB / 498 MB, free: 4.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.1922, allocations: 360.8 kB / 498.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1924, allocations: 177.4 kB / 498.5 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1925, allocations: 16 kB / 498.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1926, allocations: 329.9 kB / 498.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.1932, allocations: 309 kB / 499.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.194, allocations: 465.8 kB / 499.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.1947, allocations: 343.5 kB / 500 MB, free: 2.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1947, allocations: 0 / 500 MB, free: 2.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001633/0.1963, allocations: 0.8673 MB / 0.4891 GB, free: 1.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.1965, allocations: 217.3 kB / 0.4893 GB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1965, allocations: 4 kB / 0.4893 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1965, allocations: 8 kB / 0.4893 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/0.1974, allocations: 207.7 kB / 0.4895 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.1974, allocations: 15.94 kB / 0.4895 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.1979, allocations: 95.62 kB / 0.4896 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.198, allocations: 24 kB / 0.4896 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/0.198, allocations: 4 kB / 0.4897 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/0.1995, allocations: 0.7446 MB / 0.4904 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1996, allocations: 4 kB / 0.4904 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1996, allocations: 12 kB / 0.4904 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.2004, allocations: 200 kB / 0.4906 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.2004, allocations: 8 kB / 0.4906 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2009, allocations: 87.53 kB / 0.4907 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.2009, allocations: 24 kB / 0.4907 GB, free: 15.86 MB / 382.1 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 (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.0003571/0.2013, allocations: 293.3 kB / 0.491 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2014, allocations: 75.14 kB / 0.491 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.2016, allocations: 90.91 kB / 0.4911 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2016, allocations: 4 kB / 0.4911 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.2017, allocations: 4 kB / 0.4911 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2017, allocations: 3.984 kB / 0.4911 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.2036, allocations: 1.291 MB / 0.4924 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2036, allocations: 0 / 0.4924 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.2043, allocations: 123.9 kB / 0.4925 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2043, allocations: 0 / 0.4925 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.2043, allocations: 23.92 kB / 0.4925 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2043, allocations: 4 kB / 0.4926 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2043, allocations: 0 / 0.4926 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.2064, allocations: 1.231 MB / 0.4938 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.2066, allocations: 196.2 kB / 0.4939 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.2067, allocations: 20 kB / 0.494 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.2072, allocations: 63.94 kB / 0.494 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2074, allocations: 39.94 kB / 0.4941 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.2074, allocations: 16 kB / 0.4941 GB, free: 12.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006429/0.208, allocations: 458.9 kB / 0.4945 GB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.2081, allocations: 0 / 0.4945 GB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.2089, allocations: 227.9 kB / 0.4947 GB, free: 11.61 MB / 382.1 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 () * Number of clocked 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.002604/0.2116, allocations: 1.815 MB / 0.4965 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.2138, allocations: 1.048 MB / 0.4975 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2138, allocations: 0 / 0.4975 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.2145, allocations: 311.8 kB / 0.4978 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2156, allocations: 169.6 kB / 0.498 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008692/0.2243, allocations: 4.968 MB / 0.5028 GB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.225, allocations: 0.9542 MB / 0.5038 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.2256, allocations: 148.8 kB / 0.5039 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.226, allocations: 267.3 kB / 0.5042 GB, free: 1.707 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.226, allocations: 0 / 0.5042 GB, free: 1.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2939/0.5199, allocations: 14.33 MB / 0.5182 GB, free: 37.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.5201, allocations: 178.6 kB / 0.5183 GB, free: 37.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.806, allocations: 4.938 kB / 0.5183 GB, free: 37.15 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat