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.001422/0.001422, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00156/0.00156, allocations: 158.9 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.67e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003107/0.003134, allocations: 1.763 MB / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004528, allocations: 0.6971 MB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.004595, allocations: 0 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.004641, allocations: 11.86 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.004706, allocations: 15.81 kB / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.005312, allocations: 194.3 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.005527, allocations: 123.6 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.005673, allocations: 37.59 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.005891, allocations: 87.8 kB / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.005974, allocations: 35.88 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.006011, allocations: 12 kB / 0.6214 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.006135, allocations: 51.89 kB / 0.6215 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.00618, allocations: 39.84 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.006236, allocations: 35.89 kB / 0.6215 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.006508, allocations: 163.6 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00651, allocations: 0 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006511, allocations: 7.938 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.00652, allocations: 0 / 0.6217 GB, free: 1.375 MB / 0.5294 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.000665/0.007185, allocations: 377.5 kB / 0.6221 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.007222, allocations: 9.469 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.008309, allocations: 136.6 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.008599, allocations: 150.1 kB / 0.6224 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.008744, allocations: 107.4 kB / 0.6225 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.008773, allocations: 12.38 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.009394, allocations: 231.3 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.009403, allocations: 0 / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.009429, allocations: 4 kB / 0.6227 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.009435, allocations: 4 kB / 0.6227 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006751/0.01011, allocations: 159.8 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.01126, allocations: 417.4 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.01239, allocations: 210.3 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.01273, allocations: 76.91 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01276, allocations: 8 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.01279, allocations: 38.55 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.01279, allocations: 0 / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001141/0.01393, allocations: 261.4 kB / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.01398, allocations: 55.34 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.01413, allocations: 143.5 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.01416, allocations: 25.7 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.01426, allocations: 112.2 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.01429, allocations: 19.8 kB / 0.6242 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.01435, allocations: 25.7 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.01451, allocations: 326.8 kB / 0.6245 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.01485, allocations: 75.92 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.0152, allocations: 98.47 kB / 0.6247 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.01588, allocations: 166.4 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01588, allocations: 0 / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007948/0.01668, allocations: 201.6 kB / 0.625 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.0167, allocations: 8.062 kB / 0.625 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.01672, allocations: 8.062 kB / 0.625 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.01674, allocations: 3.938 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.01703, allocations: 31.95 kB / 0.6251 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01703, allocations: 4 kB / 0.6251 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.01724, allocations: 27.95 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.01726, allocations: 4 kB / 0.6251 GB, free: 13.69 MB / 0.545 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 0.0001302/0.01739, allocations: 122.8 kB / 0.6252 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.01743, allocations: 7.953 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008083/0.01824, allocations: 198.3 kB / 0.6254 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.01825, allocations: 7.938 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01825, allocations: 4 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.01826, allocations: 7.922 kB / 0.6254 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.01849, allocations: 158.2 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01849, allocations: 0 / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.01873, allocations: 31.95 kB / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01874, allocations: 0 / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.01875, allocations: 4 kB / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.01875, allocations: 0 / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.01877, allocations: 3.938 kB / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.01957, allocations: 287.3 kB / 0.6259 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.01959, allocations: 11.89 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.01961, allocations: 4 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.01996, allocations: 31.95 kB / 0.6259 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.02002, allocations: 11.92 kB / 0.6259 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.02005, allocations: 7.984 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001064/0.02016, allocations: 109.5 kB / 0.6261 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02016, allocations: 0 / 0.6261 GB, free: 12.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002845/0.02044, allocations: 31.89 kB / 0.6261 GB, free: 12.6 MB / 0.545 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 0.0001658/0.02061, allocations: 91.25 kB / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007564/0.02136, allocations: 171.9 kB / 0.6263 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02136, allocations: 0 / 0.6263 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.0217, allocations: 71.92 kB / 0.6264 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02202, allocations: 19.92 kB / 0.6264 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.02281, allocations: 257.8 kB / 0.6267 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.02292, allocations: 89.17 kB / 0.6268 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.762e-05/0.02302, allocations: 23.97 kB / 0.6268 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.02309, allocations: 12.5 kB / 0.6268 GB, free: 11.83 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.02309, allocations: 0 / 0.6268 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Templates: time 0.004925/0.02802, allocations: 1.539 MB / 0.6283 GB, free: 10.33 MB / 0.545 GB " [Timeout remaining time 660] 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.9861837439239025] Failed to read output from testmodel.py, exit status != 0: 0.03720816969871521 0.052455177000000006 0.042788005000000004 Calling exit ...