Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009009/0.009009, allocations: 173.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4006/0.4006, allocations: 40 MB / 310.7 MB, free: 9.848 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006233, allocations: 12 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1338, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004077/0.1379, allocations: 2.962 MB / 440.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.1413, allocations: 1.544 MB / 441.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.1421, allocations: 19.88 kB / 441.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.1428, allocations: 115.2 kB / 442 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008955/0.1437, allocations: 170.9 kB / 442.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1452, allocations: 495.2 kB / 442.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1466, allocations: 0.8651 MB / 443.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.1471, allocations: 222.4 kB / 443.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.1478, allocations: 294.4 kB / 444.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.1485, allocations: 350.2 kB / 444.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.1486, allocations: 20 kB / 444.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1487, allocations: 24 kB / 444.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1489, allocations: 159.3 kB / 444.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.1493, allocations: 315.5 kB / 444.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.15, allocations: 0.6964 MB / 445.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.15, allocations: 0 / 445.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.15, allocations: 4 kB / 445.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.15, allocations: 0 / 445.6 MB, free: 9.922 MB / 382.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.002439/0.1525, allocations: 1.055 MB / 446.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1525, allocations: 8.031 kB / 446.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.1528, allocations: 95.81 kB / 446.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.1539, allocations: 0.5623 MB / 447.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.1539, allocations: 37.38 kB / 447.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.1541, allocations: 56.12 kB / 447.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1554, allocations: 0.6368 MB / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.1554, allocations: 7.906 kB / 448.1 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.1555, allocations: 16 kB / 448.1 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1555, allocations: 12 kB / 448.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1567, allocations: 0.4939 MB / 448.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.1607, allocations: 2.686 MB / 451.3 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1619, allocations: 0.597 MB / 451.9 MB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.1625, allocations: 270.4 kB / 452.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1626, allocations: 7.938 kB / 452.1 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1626, allocations: 34.66 kB / 452.2 MB, free: 3.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.1626, allocations: 7.938 kB / 452.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002705/0.1653, allocations: 1.198 MB / 453.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.1654, allocations: 136.5 kB / 453.5 MB, free: 1.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1665, allocations: 0.6606 MB / 454.2 MB, free: 1.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.1665, allocations: 37.7 kB / 454.2 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.1668, allocations: 363.9 kB / 454.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.167, allocations: 173.5 kB / 454.7 MB, free: 448 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1671, allocations: 65.67 kB / 454.8 MB, free: 376 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1672, allocations: 330 kB / 455.1 MB, free: 40 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2166/0.3839, allocations: 286.3 kB / 455.4 MB, free: 48.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.3847, allocations: 446.3 kB / 455.8 MB, free: 48.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3861, allocations: 0.72 MB / 456.6 MB, free: 47.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3861, allocations: 6.719 kB / 456.6 MB, free: 47.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001797/0.3879, allocations: 0.838 MB / 457.4 MB, free: 47.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.3881, allocations: 232 kB / 457.6 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.3881, allocations: 3.281 kB / 457.6 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/0.3881, allocations: 9.062 kB / 457.6 MB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.3888, allocations: 163.8 kB / 457.8 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.3888, allocations: 12.75 kB / 457.8 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.3895, allocations: 88.2 kB / 457.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.3895, allocations: 23.91 kB / 457.9 MB, free: 47.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.3896, allocations: 6.75 kB / 457.9 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.3909, allocations: 0.7137 MB / 458.6 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3909, allocations: 6.094 kB / 458.6 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.391, allocations: 7.344 kB / 458.7 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.3915, allocations: 156.8 kB / 458.8 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3915, allocations: 9.453 kB / 458.8 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.3921, allocations: 86.09 kB / 458.9 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.3922, allocations: 29.72 kB / 458.9 MB, free: 47.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003405/0.3925, allocations: 285 kB / 459.2 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.3928, allocations: 74.56 kB / 459.3 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3931, allocations: 90.28 kB / 459.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3931, allocations: 6.219 kB / 459.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3931, allocations: 4 kB / 459.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3931, allocations: 9.188 kB / 459.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.3945, allocations: 0.8672 MB / 460.3 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3945, allocations: 0 / 460.3 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.3951, allocations: 116.4 kB / 460.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3951, allocations: 3.812 kB / 460.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.3952, allocations: 16.83 kB / 460.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3952, allocations: 5.812 kB / 460.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3952, allocations: 3.281 kB / 460.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.3971, allocations: 1.206 MB / 461.6 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.3974, allocations: 199 kB / 461.8 MB, free: 46.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3975, allocations: 12.94 kB / 461.8 MB, free: 46.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/0.3981, allocations: 63.12 kB / 461.9 MB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3982, allocations: 44.67 kB / 461.9 MB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.3983, allocations: 11.09 kB / 461.9 MB, free: 46.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007633/0.3991, allocations: 462.3 kB / 462.4 MB, free: 46.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3991, allocations: 0 / 462.4 MB, free: 46.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008679/0.3999, allocations: 194.2 kB / 462.6 MB, free: 46.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001496/0.4001, allocations: 121.9 kB / 462.7 MB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.4021, allocations: 1.025 MB / 463.7 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4021, allocations: 0 / 463.7 MB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.4028, allocations: 304.3 kB / 464 MB, free: 46.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.404, allocations: 175.8 kB / 464.2 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.407, allocations: 1.804 MB / 466 MB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.4075, allocations: 0.9515 MB / 466.9 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005368/0.408, allocations: 147.3 kB / 467.1 MB, free: 44.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.4082, allocations: 47.78 kB / 467.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4082, allocations: 0 / 467.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01196/0.4202, allocations: 6.788 MB / 473.9 MB, free: 44.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: