Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006845/0.006845, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001374/0.001374, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.802/1.802, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.4501/0.4501, allocations: 38 MB / 307.9 MB, free: 10.13 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.001514/0.001514, allocations: 68.56 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3962, allocations: 56.47 MB / 489.4 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003403/0.3997, allocations: 1.676 MB / 491.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4009, allocations: 0.6147 MB / 491.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.401, allocations: 2.375 kB / 491.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.354e-05/0.4011, allocations: 15.81 kB / 491.7 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.4012, allocations: 20.64 kB / 491.8 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.4017, allocations: 124.5 kB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.4019, allocations: 141.1 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.4021, allocations: 51.47 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4022, allocations: 64.12 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.4023, allocations: 61 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.4024, allocations: 20.64 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.112e-05/0.4024, allocations: 12.31 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.4025, allocations: 35.28 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.4025, allocations: 58.28 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.4028, allocations: 123.9 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4028, allocations: 1.156 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4028, allocations: 0 / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.4028, allocations: 0 / 492.4 MB, free: 17.97 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006561/0.4035, allocations: 464 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4035, allocations: 14.33 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.4036, allocations: 13.28 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4039, allocations: 231.2 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4039, allocations: 11.69 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.404, allocations: 9.844 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.4044, allocations: 171.5 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4044, allocations: 1.391 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4045, allocations: 2.312 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4045, allocations: 5.031 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.4049, allocations: 121.5 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.4057, allocations: 456.3 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.4064, allocations: 192.4 kB / 494.1 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.4066, allocations: 72.72 kB / 494.2 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4067, allocations: 5.766 kB / 494.2 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4067, allocations: 37.02 kB / 494.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4067, allocations: 0 / 494.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001525/0.4082, allocations: 0.559 MB / 494.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4083, allocations: 112.9 kB / 494.9 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4084, allocations: 163.7 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4085, allocations: 27.86 kB / 495.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.4085, allocations: 114.6 kB / 495.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.4086, allocations: 33.92 kB / 495.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.4086, allocations: 29.81 kB / 495.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.4087, allocations: 322.6 kB / 495.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.4089, allocations: 75.41 kB / 495.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4092, allocations: 96.61 kB / 495.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.4096, allocations: 141.7 kB / 495.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4097, allocations: 0 / 495.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005168/0.4102, allocations: 187.7 kB / 496 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4102, allocations: 8.875 kB / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4102, allocations: 0 / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4102, allocations: 1.422 kB / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4105, allocations: 41.94 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4105, allocations: 1 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4106, allocations: 29.91 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4106, allocations: 2.938 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000145/0.4108, allocations: 121.3 kB / 496.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001244/0.4109, allocations: 54.95 kB / 496.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000193/0.4111, allocations: 86.16 kB / 496.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.4111, allocations: 1.219 kB / 496.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002641/0.4114, allocations: 112.3 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4114, allocations: 9.469 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.4114, allocations: 0 / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.4114, allocations: 1.031 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4115, allocations: 21.62 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.4116, allocations: 5.922 kB / 496.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.4117, allocations: 18.81 kB / 496.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4117, allocations: 3.641 kB / 496.6 MB, free: 15.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.879e-05/0.4117, allocations: 182.8 kB / 496.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.4118, allocations: 20.11 kB / 496.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.4119, allocations: 15.08 kB / 496.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4119, allocations: 8.859 kB / 496.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4119, allocations: 1.156 kB / 496.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4119, allocations: 4.797 kB / 496.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.4128, allocations: 0.4983 MB / 497.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4128, allocations: 9.797 kB / 497.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.413, allocations: 37.38 kB / 497.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.413, allocations: 1.094 kB / 497.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4131, allocations: 9.938 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4131, allocations: 1.328 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4131, allocations: 5.047 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.4139, allocations: 357.8 kB / 497.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.414, allocations: 94.55 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.414, allocations: 5.562 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.4143, allocations: 29.42 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.4143, allocations: 11.06 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4143, allocations: 7.453 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.4144, allocations: 129 kB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4144, allocations: 0 / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.4147, allocations: 32.88 kB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001005/0.4149, allocations: 105.7 kB / 498.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006664/0.4155, allocations: 196.4 kB / 498.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4155, allocations: 0 / 498.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.4158, allocations: 79.16 kB / 498.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4162, allocations: 34.02 kB / 498.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.4169, allocations: 293.9 kB / 498.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.4171, allocations: 0.7061 MB / 499.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.4172, allocations: 20.11 kB / 499.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.4173, allocations: 18.19 kB / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4173, allocations: 0 / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.006719/0.424, allocations: 2.257 MB / 0.4899 GB, free: 12.94 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)