Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 104.9 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.001331, allocations: 191.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003682/0.1499, allocations: 2.801 MB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.1529, allocations: 1.509 MB / 485.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.1533, allocations: 19.88 kB / 486 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.1538, allocations: 107.2 kB / 486.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.1541, allocations: 151 kB / 486.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1552, allocations: 430.5 kB / 486.6 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008518/0.1561, allocations: 0.7835 MB / 487.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.1564, allocations: 181.2 kB / 487.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.1569, allocations: 294.5 kB / 487.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.1573, allocations: 326.3 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.1574, allocations: 20 kB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.1575, allocations: 24 kB / 488.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1577, allocations: 151.4 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1578, allocations: 137.3 kB / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1583, allocations: 0.53 MB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1583, allocations: 3.938 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1584, allocations: 4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1584, allocations: 0 / 489.1 MB, free: 13.8 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.002011/0.1604, allocations: 1.051 MB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1604, allocations: 12.03 kB / 490.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.1606, allocations: 86.45 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.1608, allocations: 98.97 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.1617, allocations: 0.5459 MB / 490.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1618, allocations: 37 kB / 490.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.1619, allocations: 52 kB / 490.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.163, allocations: 0.6338 MB / 491.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.163, allocations: 7.938 kB / 491.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.1631, allocations: 16 kB / 491.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.1631, allocations: 12 kB / 491.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1641, allocations: 0.49 MB / 492.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.1676, allocations: 2.69 MB / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1687, allocations: 0.5727 MB / 495.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.1693, allocations: 274.5 kB / 495.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.1693, allocations: 15.92 kB / 495.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1694, allocations: 38.56 kB / 495.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.1694, allocations: 0 / 495.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00249/0.1719, allocations: 1.215 MB / 496.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.172, allocations: 166.2 kB / 497.1 MB, free: 5.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.1729, allocations: 0.6373 MB / 497.7 MB, free: 4.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.1729, allocations: 37.7 kB / 497.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.1732, allocations: 364 kB / 498.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1734, allocations: 173.5 kB / 498.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1734, allocations: 12 kB / 498.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1736, allocations: 330 kB / 498.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.1742, allocations: 289.1 kB / 498.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.175, allocations: 454 kB / 499.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.1757, allocations: 330 kB / 499.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1757, allocations: 3.984 kB / 499.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001626/0.1773, allocations: 0.8302 MB / 0.4887 GB, free: 1.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.1775, allocations: 224.2 kB / 0.489 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1775, allocations: 4 kB / 0.489 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.1775, allocations: 11.95 kB / 0.489 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.1782, allocations: 175.7 kB / 0.4891 GB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.1783, allocations: 8 kB / 0.4892 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.1788, allocations: 83.62 kB / 0.4892 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.1788, allocations: 32 kB / 0.4893 GB, free: 1.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.1789, allocations: 4 kB / 0.4893 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/0.1802, allocations: 0.7138 MB / 0.49 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1802, allocations: 4 kB / 0.49 GB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1803, allocations: 12.03 kB / 0.49 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.1809, allocations: 155.7 kB / 0.4901 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1809, allocations: 8 kB / 0.4901 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.1814, allocations: 91.53 kB / 0.4902 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.1814, allocations: 24 kB / 0.4902 GB, free: 348 kB / 366.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 (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.0003482/0.1818, allocations: 289.6 kB / 0.4905 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.182, allocations: 79.22 kB / 0.4906 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.1822, allocations: 94.22 kB / 0.4907 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1822, allocations: 4.047 kB / 0.4907 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1822, allocations: 3.984 kB / 0.4907 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.1822, allocations: 7.984 kB / 0.4907 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1836, allocations: 0.853 MB / 0.4915 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1836, allocations: 4 kB / 0.4915 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.1842, allocations: 111.9 kB / 0.4916 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1842, allocations: 4 kB / 0.4916 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.1843, allocations: 15.98 kB / 0.4917 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1843, allocations: 15.88 kB / 0.4917 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1843, allocations: 0 / 0.4917 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.1863, allocations: 1.203 MB / 0.4929 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.1866, allocations: 196.2 kB / 0.493 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.1867, allocations: 16 kB / 0.4931 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.1872, allocations: 63.94 kB / 0.4931 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1873, allocations: 35.94 kB / 0.4932 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.1873, allocations: 12 kB / 0.4932 GB, free: 13.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006865/0.188, allocations: 458.9 kB / 0.4936 GB, free: 12.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1881, allocations: 4 kB / 0.4936 GB, free: 12.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008417/0.1889, allocations: 192 kB / 0.4938 GB, free: 12.61 MB / 382.1 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.002278/0.1912, allocations: 1.748 MB / 0.4955 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.1933, allocations: 1.017 MB / 0.4965 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1934, allocations: 4 kB / 0.4965 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.194, allocations: 306.8 kB / 0.4968 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.195, allocations: 168.9 kB / 0.4969 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/0.2031, allocations: 4.878 MB / 0.5017 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2038, allocations: 0.9458 MB / 0.5026 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.2044, allocations: 144.7 kB / 0.5028 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.2048, allocations: 259.3 kB / 0.503 GB, free: 2.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2048, allocations: 0 / 0.503 GB, free: 2.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3117/0.5166, allocations: 13.37 MB / 0.5161 GB, free: 38.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.5168, allocations: 172.1 kB / 0.5162 GB, free: 38.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.854, allocations: 3.938 kB / 0.5162 GB, free: 38.3 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat