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.001061/0.001061, allocations: 97.33 kB / 16.99 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 193.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 63.46 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00422/0.149, allocations: 2.809 MB / 484.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.1538, allocations: 1.496 MB / 485.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.1544, allocations: 15.94 kB / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.1551, allocations: 95.27 kB / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007596/0.1559, allocations: 183.4 kB / 486.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.1577, allocations: 430.9 kB / 486.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.1588, allocations: 0.5619 MB / 487.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.1592, allocations: 173.2 kB / 487.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008025/0.1601, allocations: 310.7 kB / 487.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.1607, allocations: 322.4 kB / 487.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.508e-05/0.1608, allocations: 24 kB / 487.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1609, allocations: 24 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.1612, allocations: 151.4 kB / 488.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1614, allocations: 129.3 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.1622, allocations: 0.5417 MB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1622, allocations: 4 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1622, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1622, allocations: 0 / 488.7 MB, free: 14.02 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.003012/0.1653, allocations: 1.055 MB / 489.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1653, allocations: 8.031 kB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.1655, allocations: 82.53 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.1659, allocations: 103 kB / 490 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1671, allocations: 0.5381 MB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1672, allocations: 44.98 kB / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.1673, allocations: 55.98 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.169, allocations: 0.626 MB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1691, allocations: 0 / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.1692, allocations: 24 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1692, allocations: 12 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.1708, allocations: 497.8 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.1763, allocations: 2.686 MB / 494.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.1775, allocations: 0.5858 MB / 495 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.1776, allocations: 4 kB / 495 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1776, allocations: 38.56 kB / 495.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.1776, allocations: 0 / 495.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002543/0.1802, allocations: 1.215 MB / 496.3 MB, free: 6.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.1803, allocations: 162.2 kB / 496.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.1811, allocations: 0.6489 MB / 497.1 MB, free: 5.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.1812, allocations: 37.7 kB / 497.1 MB, free: 5.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1815, allocations: 364 kB / 497.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.1816, allocations: 173.5 kB / 497.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1817, allocations: 12 kB / 497.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1818, allocations: 334 kB / 498 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.1824, allocations: 289.1 kB / 498.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007322/0.1831, allocations: 450 kB / 498.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008998/0.1841, allocations: 330 kB / 499.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1841, allocations: 0 / 499.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002217/0.1863, allocations: 0.838 MB / 499.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.1874, allocations: 1.739 MB / 0.4899 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.1874, allocations: 8 kB / 0.4899 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.1875, allocations: 8 kB / 0.4899 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.1884, allocations: 163.7 kB / 0.49 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.1884, allocations: 8 kB / 0.49 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.1891, allocations: 95.62 kB / 0.4901 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.1892, allocations: 20 kB / 0.4902 GB, free: 260 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1892, allocations: 4 kB / 0.4902 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002094/0.1913, allocations: 0.7214 MB / 0.4909 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1913, allocations: 7.938 kB / 0.4909 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1913, allocations: 8 kB / 0.4909 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.1922, allocations: 148.1 kB / 0.491 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.1922, allocations: 19.92 kB / 0.491 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/0.1929, allocations: 87.5 kB / 0.4911 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.193, allocations: 24 kB / 0.4912 GB, free: 15.24 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 (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.0005721/0.1935, allocations: 303.7 kB / 0.4914 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.1938, allocations: 75.06 kB / 0.4915 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.1941, allocations: 86.22 kB / 0.4916 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1941, allocations: 4 kB / 0.4916 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1941, allocations: 4 kB / 0.4916 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.1941, allocations: 7.938 kB / 0.4916 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.196, allocations: 0.8571 MB / 0.4924 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.196, allocations: 3.938 kB / 0.4924 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.1969, allocations: 115.9 kB / 0.4926 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.1969, allocations: 4 kB / 0.4926 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.197, allocations: 16 kB / 0.4926 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.197, allocations: 7.953 kB / 0.4926 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.197, allocations: 0 / 0.4926 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.2001, allocations: 1.223 MB / 0.4938 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.2004, allocations: 200.1 kB / 0.494 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.2006, allocations: 12 kB / 0.494 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.2013, allocations: 71.81 kB / 0.4941 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.2015, allocations: 39.94 kB / 0.4941 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.2015, allocations: 8 kB / 0.4941 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.2026, allocations: 463 kB / 0.4945 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2026, allocations: 0 / 0.4945 GB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001319/0.204, allocations: 192 kB / 0.4947 GB, free: 11.47 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.003414/0.2074, allocations: 1.919 MB / 0.4966 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.2105, allocations: 1.013 MB / 0.4976 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2105, allocations: 0 / 0.4976 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.2114, allocations: 303.7 kB / 0.4979 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.2128, allocations: 167.6 kB / 0.498 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.2269, allocations: 7.689 MB / 0.5055 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2491/0.4761, allocations: 0.9603 MB / 0.5065 GB, free: 40.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008302/0.477, allocations: 148.1 kB / 0.5066 GB, free: 40.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.4775, allocations: 257.6 kB / 0.5069 GB, free: 40.73 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4775, allocations: 0 / 0.5069 GB, free: 40.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.5139, allocations: 13.35 MB / 0.5199 GB, free: 37.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.5141, allocations: 167.8 kB / 0.5201 GB, free: 37.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.651, allocations: 0.9375 kB / 0.5201 GB, free: 37.14 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