Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0011/0.0011, allocations: 192.6 kB / 16.14 MB, free: 6.66 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3221/0.3221, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.1. 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.001432/0.001432, allocations: 71.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1513, allocations: 56.48 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005608/0.157, allocations: 3.549 MB / 434.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1601, allocations: 1.419 MB / 436 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008557/0.161, allocations: 23.88 kB / 436 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.1616, allocations: 83.19 kB / 436.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1626, allocations: 123 kB / 436.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.164, allocations: 0.5462 MB / 436.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1651, allocations: 0.8858 MB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.1656, allocations: 300.5 kB / 437.9 MB, free: 96 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.166, allocations: 322.5 kB / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1664, allocations: 342.1 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.1665, allocations: 36 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.1666, allocations: 36 kB / 438.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1667, allocations: 143.2 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.167, allocations: 333.7 kB / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.1676, allocations: 0.7627 MB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1676, allocations: 0 / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1676, allocations: 0 / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1677, allocations: 0 / 439.9 MB, free: 14.14 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002255/0.1699, allocations: 1.207 MB / 441.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.17, allocations: 19.97 kB / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1702, allocations: 95.72 kB / 441.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008006/0.171, allocations: 0.5777 MB / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.171, allocations: 41.38 kB / 441.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.1711, allocations: 48.38 kB / 441.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.1725, allocations: 0.7075 MB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1726, allocations: 0 / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.1726, allocations: 24 kB / 442.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1727, allocations: 12 kB / 442.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.174, allocations: 0.5619 MB / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1773, allocations: 2.294 MB / 445.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1789, allocations: 0.7174 MB / 446.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.1797, allocations: 330.2 kB / 446.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1798, allocations: 12.44 kB / 446.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1798, allocations: 46.92 kB / 446.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.1798, allocations: 0 / 446.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004324/0.1841, allocations: 1.933 MB / 448.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.1843, allocations: 184.4 kB / 448.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.1849, allocations: 0.5865 MB / 449.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.185, allocations: 37.7 kB / 449.3 MB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1853, allocations: 360.8 kB / 449.7 MB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1854, allocations: 181.4 kB / 449.8 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1856, allocations: 106.1 kB / 449.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1857, allocations: 330 kB / 450.3 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.1866, allocations: 298.9 kB / 450.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008401/0.1874, allocations: 425.9 kB / 451 MB, free: 2.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.1889, allocations: 0.6434 MB / 451.6 MB, free: 1.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1889, allocations: 0 / 451.6 MB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001818/0.1908, allocations: 0.7946 MB / 452.4 MB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1908, allocations: 8 kB / 452.4 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1908, allocations: 4 kB / 452.4 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1908, allocations: 7.938 kB / 452.4 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.1917, allocations: 203.9 kB / 452.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1917, allocations: 4 kB / 452.6 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.1924, allocations: 75.92 kB / 452.7 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.1924, allocations: 23.98 kB / 452.7 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007487/0.1932, allocations: 357.1 kB / 453.1 MB, free: 448 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006385/0.1939, allocations: 359.6 kB / 453.4 MB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1955/0.3894, allocations: 0.537 MB / 454 MB, free: 52.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.3894, allocations: 0 / 454 MB, free: 52.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001352/0.3908, allocations: 0.6555 MB / 454.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3908, allocations: 6.438 kB / 454.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3908, allocations: 3.219 kB / 454.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.3908, allocations: 9.812 kB / 454.6 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.3915, allocations: 161.6 kB / 454.8 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3915, allocations: 12.12 kB / 454.8 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.3919, allocations: 64.17 kB / 454.9 MB, free: 52.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.392, allocations: 23.19 kB / 454.9 MB, free: 52.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.000162/0.3921, allocations: 209.6 kB / 455.1 MB, free: 52.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3923, allocations: 74.06 kB / 455.2 MB, free: 52.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.3924, allocations: 90.83 kB / 455.3 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3924, allocations: 10.06 kB / 455.3 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3925, allocations: 0 / 455.3 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3925, allocations: 3.375 kB / 455.3 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.3947, allocations: 1.45 MB / 456.7 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3947, allocations: 10.27 kB / 456.7 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.3954, allocations: 148.7 kB / 456.9 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3954, allocations: 10.38 kB / 456.9 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.3955, allocations: 11.81 kB / 456.9 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3955, allocations: 4.141 kB / 456.9 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3955, allocations: 3.125 kB / 456.9 MB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3977, allocations: 1.252 MB / 458.2 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.3979, allocations: 189.2 kB / 458.3 MB, free: 51.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.398, allocations: 14.66 kB / 458.3 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.3985, allocations: 73.47 kB / 458.4 MB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3986, allocations: 47.8 kB / 458.5 MB, free: 51.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3987, allocations: 13.44 kB / 458.5 MB, free: 51.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.399, allocations: 408.3 kB / 458.9 MB, free: 51.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 3.719 kB / 458.9 MB, free: 51.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.3997, allocations: 185.5 kB / 459.1 MB, free: 51.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.0001052/0.3998, allocations: 118.2 kB / 459.2 MB, free: 51.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.4018, allocations: 0.9772 MB / 460.2 MB, free: 51.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4018, allocations: 4.062 kB / 460.2 MB, free: 51.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.4026, allocations: 354.7 kB / 460.5 MB, free: 51.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4037, allocations: 194.8 kB / 460.7 MB, free: 51.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.4066, allocations: 1.79 MB / 462.5 MB, free: 50.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.4069, allocations: 0.9279 MB / 463.4 MB, free: 49.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000393/0.4073, allocations: 89.58 kB / 463.5 MB, free: 49.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.4075, allocations: 56.86 kB / 463.6 MB, free: 49.57 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4075, allocations: 3.375 kB / 463.6 MB, free: 49.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01146/0.419, allocations: 8.038 MB / 471.6 MB, free: 49.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)