Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 100.4 kB / 19.71 MB, free: 440 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007834/0.0007834, allocations: 215.5 kB / 23 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9206/0.9206, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7973/0.7973, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009551/0.0009551, allocations: 65.78 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4825, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002134/0.4846, allocations: 1.769 MB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.4855, allocations: 0.7039 MB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.4856, allocations: 1.656 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.4856, allocations: 10.41 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.4857, allocations: 20.48 kB / 0.8215 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.4862, allocations: 181.5 kB / 0.8216 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.4863, allocations: 135.3 kB / 0.8218 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.4865, allocations: 38.3 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.4866, allocations: 73.67 kB / 0.8219 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.4867, allocations: 44.06 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.4867, allocations: 13.09 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.4868, allocations: 50.27 kB / 0.822 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.4868, allocations: 34.58 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.4869, allocations: 43.97 kB / 0.822 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.4871, allocations: 150.1 kB / 0.8222 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4871, allocations: 4.672 kB / 0.8222 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4871, allocations: 0 / 0.8222 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4871, allocations: 0 / 0.8222 GB, free: 15.3 MB / 0.6198 GB 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.0004648/0.4876, allocations: 371.8 kB / 0.8225 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4876, allocations: 10.31 kB / 0.8226 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.4882, allocations: 129.7 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4884, allocations: 149.8 kB / 0.8228 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.4885, allocations: 116.4 kB / 0.8229 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4885, allocations: 13.34 kB / 0.8229 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.4889, allocations: 219.1 kB / 0.8232 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4889, allocations: 0 / 0.8232 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.489, allocations: 5.188 kB / 0.8232 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.489, allocations: 6.5 kB / 0.8232 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.4894, allocations: 162.1 kB / 0.8233 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.4902, allocations: 395.9 kB / 0.8237 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.4908, allocations: 213.5 kB / 0.8239 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.491, allocations: 86.28 kB / 0.824 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.491, allocations: 1.641 kB / 0.824 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.491, allocations: 33.28 kB / 0.824 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.617e-06/0.4911, allocations: 3.984 kB / 0.824 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007065/0.4918, allocations: 274.2 kB / 0.8243 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.4918, allocations: 53.31 kB / 0.8243 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.4919, allocations: 141.3 kB / 0.8245 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.492, allocations: 25.7 kB / 0.8245 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.492, allocations: 111.4 kB / 0.8246 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.4923, allocations: 24.59 kB / 0.8246 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.4923, allocations: 24 kB / 0.8246 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.4924, allocations: 319.5 kB / 0.825 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.4926, allocations: 79.47 kB / 0.825 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.4928, allocations: 92.95 kB / 0.8251 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.4932, allocations: 164.3 kB / 0.8253 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4932, allocations: 1.594 kB / 0.8253 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003963/0.4936, allocations: 213.9 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4936, allocations: 5.812 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4936, allocations: 1.344 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4936, allocations: 1.5 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4937, allocations: 34.53 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4937, allocations: 2.047 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.4938, allocations: 20.7 kB / 0.8255 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4938, allocations: 9.203 kB / 0.8256 GB, free: 13.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 7.353e-05/0.4939, allocations: 122.8 kB / 0.8257 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.4939, allocations: 12.3 kB / 0.8257 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.4944, allocations: 204.6 kB / 0.8259 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4944, allocations: 5.469 kB / 0.8259 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4944, allocations: 0 / 0.8259 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4944, allocations: 0.5625 kB / 0.8259 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4945, allocations: 169 kB / 0.826 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4945, allocations: 0 / 0.826 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4946, allocations: 31.84 kB / 0.8261 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4947, allocations: 4.453 kB / 0.8261 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4947, allocations: 2.891 kB / 0.8261 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4947, allocations: 1.281 kB / 0.8261 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4947, allocations: 7.938 kB / 0.8261 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.4951, allocations: 279.7 kB / 0.8264 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.4951, allocations: 15.2 kB / 0.8264 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4951, allocations: 5.188 kB / 0.8264 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4952, allocations: 33.55 kB / 0.8264 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.4953, allocations: 5.234 kB / 0.8264 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4953, allocations: 10.41 kB / 0.8264 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.4953, allocations: 113.9 kB / 0.8265 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4953, allocations: 0 / 0.8265 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001719/0.4955, allocations: 23.05 kB / 0.8266 GB, free: 12.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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 8.746e-05/0.4956, allocations: 94.33 kB / 0.8266 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.496, allocations: 169.7 kB / 0.8268 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.496, allocations: 0 / 0.8268 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.4962, allocations: 84.66 kB / 0.8269 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.4964, allocations: 12.77 kB / 0.8269 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.4968, allocations: 291.1 kB / 0.8272 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.4969, allocations: 86.62 kB / 0.8273 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.497, allocations: 15.53 kB / 0.8273 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.497, allocations: 0 / 0.8273 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.002795/0.4998, allocations: 1.691 MB / 0.8289 GB, free: 11.89 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.652235635090619] Failed to read output from testmodel.py, exit status != 0: 0.5062622823752463 0.516430454 0.027335189000000003 Calling exit ...