Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 97.44 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 180 kB / 17.87 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 11.98 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1462, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004143/0.1504, allocations: 2.844 MB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.1544, allocations: 1.451 MB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.1549, allocations: 23.88 kB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.1554, allocations: 87.33 kB / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.156, allocations: 195.3 kB / 476.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1571, allocations: 413.8 kB / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1583, allocations: 0.597 MB / 477.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.1587, allocations: 177 kB / 477.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.1591, allocations: 310.7 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.1596, allocations: 326.5 kB / 477.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.1596, allocations: 24 kB / 477.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1599, allocations: 119.8 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1601, allocations: 143.4 kB / 478.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1602, allocations: 133.3 kB / 478.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.1608, allocations: 0.6275 MB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1609, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1609, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1609, allocations: 0 / 479 MB, free: 6.203 MB / 350.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.002399/0.1633, allocations: 1.078 MB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1634, allocations: 8.031 kB / 480 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.1635, allocations: 90.52 kB / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.1638, allocations: 86.97 kB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.1652, allocations: 0.5304 MB / 480.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.1653, allocations: 37 kB / 480.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1654, allocations: 55.95 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1666, allocations: 0.6213 MB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1667, allocations: 3.906 kB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.1667, allocations: 23.94 kB / 481.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1668, allocations: 12 kB / 481.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1679, allocations: 0.4944 MB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.1717, allocations: 2.671 MB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1728, allocations: 0.5354 MB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.1729, allocations: 16.16 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1729, allocations: 34.8 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 3.366e-06/0.1729, allocations: 0 / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002722/0.1757, allocations: 1.227 MB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.1758, allocations: 136.5 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.1768, allocations: 0.6451 MB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.1768, allocations: 33.7 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.1772, allocations: 360.8 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.1774, allocations: 177.4 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1774, allocations: 16 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1776, allocations: 326 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/0.1783, allocations: 301.1 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/0.1791, allocations: 460.8 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.1799, allocations: 339.8 kB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1799, allocations: 4 kB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001937/0.1818, allocations: 0.8629 MB / 490.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000978/0.1828, allocations: 1.754 MB / 491.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.1828, allocations: 4 kB / 491.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.1829, allocations: 8 kB / 491.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.1839, allocations: 207.7 kB / 492.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.1839, allocations: 11.94 kB / 492.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.1845, allocations: 95.58 kB / 492.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.1846, allocations: 27.94 kB / 492.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.1846, allocations: 4 kB / 492.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/0.1862, allocations: 0.7375 MB / 492.9 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1862, allocations: 4 kB / 492.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1862, allocations: 8 kB / 492.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.1871, allocations: 199.9 kB / 493.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1871, allocations: 19.92 kB / 493.2 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.1877, allocations: 91.53 kB / 493.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.1877, allocations: 24 kB / 493.3 MB, free: 7.32 MB / 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 (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.0004469/0.1882, allocations: 288.9 kB / 493.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.1884, allocations: 75.11 kB / 493.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1885, allocations: 86.91 kB / 493.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1886, allocations: 8 kB / 493.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.1886, allocations: 0 / 493.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1886, allocations: 3.984 kB / 493.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.1909, allocations: 1.291 MB / 495 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.1909, allocations: 4 kB / 495 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.1915, allocations: 123.9 kB / 495.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1916, allocations: 4 kB / 495.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.1916, allocations: 15.98 kB / 495.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.1916, allocations: 4 kB / 495.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1916, allocations: 0 / 495.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.194, allocations: 1.273 MB / 496.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.1943, allocations: 204.1 kB / 496.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.1944, allocations: 12 kB / 496.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.195, allocations: 63.94 kB / 496.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.1951, allocations: 39.94 kB / 496.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.1951, allocations: 12 kB / 496.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.1959, allocations: 455 kB / 497.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1959, allocations: 4 kB / 497.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009486/0.1969, allocations: 216 kB / 497.4 MB, free: 3.027 MB / 366.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.003009/0.1999, allocations: 2.14 MB / 499.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.2022, allocations: 1.057 MB / 0.4889 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2023, allocations: 7.938 kB / 0.4889 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.2029, allocations: 315.8 kB / 0.4892 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.2039, allocations: 179.1 kB / 0.4894 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009565/0.2135, allocations: 7.78 MB / 0.497 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.2141, allocations: 0.9659 MB / 0.4979 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006024/0.2147, allocations: 148.8 kB / 0.498 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.2151, allocations: 259.3 kB / 0.4983 GB, free: 5.898 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2151, allocations: 0 / 0.4983 GB, free: 5.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.247/0.4621, allocations: 14.29 MB / 0.5123 GB, free: 47.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.4624, allocations: 178 kB / 0.5124 GB, free: 47.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.704, allocations: 0 / 0.5124 GB, free: 47.32 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat