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.001141/0.001141, allocations: 96.19 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001653, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246 MB, free: 11.98 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.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003165/0.1399, allocations: 2.824 MB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1426, allocations: 1.506 MB / 486 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003674/0.143, allocations: 19.88 kB / 486 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.1435, allocations: 103.3 kB / 486.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.1439, allocations: 155 kB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1449, allocations: 430.9 kB / 486.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008619/0.1458, allocations: 0.768 MB / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.1461, allocations: 181.1 kB / 487.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.1466, allocations: 294.5 kB / 487.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.147, allocations: 322.4 kB / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.147, allocations: 24 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1471, allocations: 24 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1473, allocations: 155.4 kB / 488.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1474, allocations: 133.3 kB / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.1479, allocations: 0.5222 MB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1479, allocations: 4 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1479, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1479, allocations: 0 / 489.1 MB, free: 13.81 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.001972/0.1499, allocations: 1.063 MB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.15, allocations: 12.03 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.1501, allocations: 78.53 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.1503, allocations: 103 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.1511, allocations: 0.5381 MB / 490.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.1512, allocations: 40.94 kB / 490.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1513, allocations: 63.97 kB / 491 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1523, allocations: 0.6222 MB / 491.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1524, allocations: 11.84 kB / 491.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.1524, allocations: 23.94 kB / 491.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1525, allocations: 12 kB / 491.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1535, allocations: 497.8 kB / 492.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.1569, allocations: 2.643 MB / 494.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.158, allocations: 0.5702 MB / 495.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.1586, allocations: 282.5 kB / 495.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.1586, allocations: 4 kB / 495.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1587, allocations: 38.56 kB / 495.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.1587, allocations: 4 kB / 495.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002433/0.1611, allocations: 1.213 MB / 496.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.1612, allocations: 166.2 kB / 497 MB, free: 5.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.162, allocations: 0.6489 MB / 497.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.1621, allocations: 37.7 kB / 497.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.1624, allocations: 356 kB / 498.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1625, allocations: 173.5 kB / 498.2 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1626, allocations: 12 kB / 498.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1627, allocations: 334 kB / 498.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.1633, allocations: 277.1 kB / 498.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.1641, allocations: 453 kB / 499.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.1647, allocations: 326 kB / 499.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1648, allocations: 0 / 499.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001687/0.1664, allocations: 0.8505 MB / 0.4887 GB, free: 1.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.1666, allocations: 220.1 kB / 0.4889 GB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1666, allocations: 11.98 kB / 0.4889 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.1669, allocations: 60.81 kB / 0.489 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.1677, allocations: 207.7 kB / 0.4892 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1691, allocations: 1.488 MB / 0.4906 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005547/0.1696, allocations: 99.62 kB / 0.4907 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.1697, allocations: 28 kB / 0.4908 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.1697, allocations: 4 kB / 0.4908 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/0.1711, allocations: 0.7434 MB / 0.4915 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1712, allocations: 4 kB / 0.4915 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.1713, allocations: 65.25 kB / 0.4916 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.1721, allocations: 203.6 kB / 0.4918 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1733, allocations: 1.499 MB / 0.4932 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.1738, allocations: 87.78 kB / 0.4933 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.1739, allocations: 24 kB / 0.4933 GB, free: 12.91 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.0003387/0.1742, allocations: 281.2 kB / 0.4936 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.1744, allocations: 75.06 kB / 0.4937 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1746, allocations: 102.2 kB / 0.4938 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1746, allocations: 11.97 kB / 0.4938 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1746, allocations: 0 / 0.4938 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1746, allocations: 3.984 kB / 0.4938 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1758, allocations: 0.8532 MB / 0.4946 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1758, allocations: 0 / 0.4946 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.1765, allocations: 119.8 kB / 0.4947 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1765, allocations: 0 / 0.4947 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.1765, allocations: 19.98 kB / 0.4947 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1765, allocations: 4 kB / 0.4947 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1765, allocations: 7.938 kB / 0.4948 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.1784, allocations: 1.196 MB / 0.4959 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.1787, allocations: 192.2 kB / 0.4961 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/0.1787, allocations: 23.94 kB / 0.4961 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.1793, allocations: 63.94 kB / 0.4962 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1794, allocations: 35.94 kB / 0.4962 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1794, allocations: 16 kB / 0.4962 GB, free: 9.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005776/0.18, allocations: 451 kB / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.18, allocations: 0 / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008221/0.1808, allocations: 200 kB / 0.4969 GB, free: 9.18 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.002208/0.1831, allocations: 1.764 MB / 0.4986 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.1857, allocations: 1.248 MB / 0.4998 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1857, allocations: 0 / 0.4998 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.1863, allocations: 307.9 kB / 0.5001 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1874, allocations: 161.6 kB / 0.5002 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.1955, allocations: 4.895 MB / 0.505 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2907/0.4863, allocations: 0.9447 MB / 0.506 GB, free: 40.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007437/0.4871, allocations: 139.1 kB / 0.5061 GB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.4876, allocations: 257.2 kB / 0.5063 GB, free: 40.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4877, allocations: 0 / 0.5063 GB, free: 40.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.523, allocations: 14.22 MB / 0.5202 GB, free: 36.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.5232, allocations: 200.7 kB / 0.5204 GB, free: 36.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.717, allocations: 0 / 0.5204 GB, free: 36.29 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