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/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_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/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 97.25 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 204.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1455, allocations: 63.47 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003574/0.1492, allocations: 2.825 MB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1521, allocations: 1.498 MB / 485.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.1525, allocations: 19.88 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.153, allocations: 83.34 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.1534, allocations: 187.4 kB / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1546, allocations: 426.5 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.1554, allocations: 0.5541 MB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.1557, allocations: 177.2 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.1562, allocations: 314.7 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.1566, allocations: 314.4 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.1567, allocations: 24 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.1568, allocations: 24 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.157, allocations: 151.4 kB / 488.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1571, allocations: 133.3 kB / 488.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.1576, allocations: 0.5377 MB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1576, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1576, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1576, 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.002181/0.1598, allocations: 1.059 MB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1599, allocations: 8.031 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.16, allocations: 86.52 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.1603, allocations: 94.97 kB / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.1612, allocations: 0.542 MB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.1613, allocations: 37 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.1614, allocations: 52 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1625, allocations: 0.626 MB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.1626, allocations: 7.906 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.1626, allocations: 16 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1626, allocations: 12 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1637, allocations: 0.49 MB / 491.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.1675, allocations: 2.651 MB / 494.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1687, allocations: 0.588 MB / 495 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.1688, allocations: 8 kB / 495 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.1688, allocations: 38.55 kB / 495.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/0.1688, allocations: 0 / 495.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002631/0.1715, allocations: 1.211 MB / 496.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1716, allocations: 162.2 kB / 496.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.1725, allocations: 0.6528 MB / 497.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.1726, allocations: 37.7 kB / 497.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.1728, allocations: 360 kB / 497.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.173, allocations: 169.5 kB / 497.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.173, allocations: 12 kB / 497.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1732, allocations: 330 kB / 498 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.1739, allocations: 281.1 kB / 498.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.1746, allocations: 446 kB / 498.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.1753, allocations: 325.5 kB / 499 MB, free: 3.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1753, allocations: 4 kB / 499 MB, free: 3.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001745/0.1771, allocations: 0.8546 MB / 499.9 MB, free: 2.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009084/0.178, allocations: 1.75 MB / 0.4898 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.178, allocations: 8 kB / 0.4899 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.1783, allocations: 56.81 kB / 0.4899 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.1792, allocations: 207.7 kB / 0.4901 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1807, allocations: 1.507 MB / 0.4916 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.1814, allocations: 99.75 kB / 0.4917 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.1814, allocations: 20 kB / 0.4917 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1814, allocations: 6.344 kB / 0.4917 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/0.1829, allocations: 0.7462 MB / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.183, allocations: 4 kB / 0.4924 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.1831, allocations: 60.81 kB / 0.4925 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.1839, allocations: 196.1 kB / 0.4927 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.1853, allocations: 1.514 MB / 0.4942 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.1859, allocations: 91.7 kB / 0.4942 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.186, allocations: 24 kB / 0.4943 GB, free: 11.77 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 (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.0004457/0.1865, allocations: 285 kB / 0.4945 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.1866, allocations: 79.02 kB / 0.4946 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.1868, allocations: 94.2 kB / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1868, allocations: 4 kB / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1868, allocations: 0 / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1868, allocations: 0 / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1882, allocations: 0.8725 MB / 0.4956 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1883, allocations: 0 / 0.4956 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.1889, allocations: 119.9 kB / 0.4957 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1889, allocations: 3.938 kB / 0.4957 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.1889, allocations: 19.98 kB / 0.4957 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.189, allocations: 0 / 0.4957 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.189, allocations: 8 kB / 0.4957 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.191, allocations: 1.223 MB / 0.4969 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.1913, allocations: 192.2 kB / 0.4971 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.1914, allocations: 23.98 kB / 0.4971 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.1919, allocations: 51.95 kB / 0.4972 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1921, allocations: 47.89 kB / 0.4972 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.1921, allocations: 15.98 kB / 0.4972 GB, free: 8.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006334/0.1928, allocations: 451 kB / 0.4976 GB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1928, allocations: 4 kB / 0.4976 GB, free: 8.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008714/0.1936, allocations: 192 kB / 0.4978 GB, free: 8.004 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.002531/0.1962, allocations: 1.924 MB / 0.4997 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.1988, allocations: 1.244 MB / 0.5009 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1988, allocations: 0 / 0.5009 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.1995, allocations: 310.9 kB / 0.5012 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.2005, allocations: 168.9 kB / 0.5014 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2548/0.4553, allocations: 7.695 MB / 0.5089 GB, free: 38.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.4559, allocations: 0.9661 MB / 0.5098 GB, free: 38.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006217/0.4565, allocations: 138 kB / 0.51 GB, free: 38.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.4569, allocations: 258.3 kB / 0.5102 GB, free: 38.22 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4569, allocations: 1.156 kB / 0.5102 GB, free: 38.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.4936, allocations: 14.18 MB / 0.5241 GB, free: 34.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.4938, allocations: 198.5 kB / 0.5243 GB, free: 34.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.623, allocations: 0 / 0.5243 GB, free: 34.02 MB / 382.1 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