Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001876/0.001876, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001841/0.001841, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.217/1.217, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.406e-05, allocations: 5.406 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00196/0.001994, allocations: 0.6213 MB / 0.6192 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.004512, allocations: 1.434 MB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.004543, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.103e-05/0.004614, allocations: 0 / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.004668, allocations: 7.922 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.005492, allocations: 218 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.005586, allocations: 35.91 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.005643, allocations: 11.98 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.005692, allocations: 15.98 kB / 0.6209 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.005747, allocations: 15.97 kB / 0.6209 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.00577, allocations: 4 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.006246, allocations: 267.5 kB / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.00629, allocations: 4 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.006329, allocations: 15.92 kB / 0.6212 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.00674, allocations: 271.3 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006743, allocations: 0 / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006744, allocations: 0 / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.00675, allocations: 0 / 0.6214 GB, free: 1.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005456/0.007296, allocations: 327.6 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.007337, allocations: 13.47 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.007384, allocations: 8.891 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.007521, allocations: 109.8 kB / 0.6218 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.007541, allocations: 8.375 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.007553, allocations: 4.312 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007786, allocations: 111.8 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.007796, allocations: 192 / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.00781, allocations: 4.375 kB / 0.622 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.007818, allocations: 3.938 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.007919, allocations: 69.66 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.008064, allocations: 109.3 kB / 0.6221 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.008179, allocations: 84.28 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.008259, allocations: 70.53 kB / 0.6223 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.008266, allocations: 8 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.008303, allocations: 38.5 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.008304, allocations: 0 / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000372/0.008676, allocations: 246.7 kB / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.00874, allocations: 85.05 kB / 0.6227 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.008839, allocations: 109.8 kB / 0.6228 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.008858, allocations: 25.7 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.008928, allocations: 92.17 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.008975, allocations: 27.75 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.009017, allocations: 21.66 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.009161, allocations: 314.8 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.009239, allocations: 69.7 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.009309, allocations: 65.67 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.009542, allocations: 156.1 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009544, allocations: 0 / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002232/0.009767, allocations: 181.2 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.009804, allocations: 33.7 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009809, allocations: 0 / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.009827, allocations: 4 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.009828, allocations: 0 / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.009838, allocations: 8.547 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.009964, allocations: 12.02 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.009994, allocations: 4 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001387/0.01013, allocations: 152.5 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.01015, allocations: 7.984 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.01016, allocations: 4.438 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01016, allocations: 0 / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.01017, allocations: 7.938 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01018, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.01029, allocations: 121.1 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.0103, allocations: 0 / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.0103, allocations: 0 / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.0103, allocations: 4 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01031, allocations: 7.938 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01031, allocations: 0 / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01031, allocations: 0 / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.01061, allocations: 236.4 kB / 0.6242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.01062, allocations: 7.953 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01063, allocations: 0 / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.01067, allocations: 11.98 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.01069, allocations: 4 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01071, allocations: 7.938 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.01077, allocations: 95.3 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01077, allocations: 4 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000314/0.01108, allocations: 71.86 kB / 0.6244 GB, free: 14.24 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000379/0.01146, allocations: 175 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.01177, allocations: 226.6 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01177, allocations: 0 / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01192, allocations: 145 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.01208, allocations: 10.19 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.01247, allocations: 190.6 kB / 0.6252 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.01256, allocations: 87.17 kB / 0.6252 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.052e-06/0.01257, allocations: 0 / 0.6252 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.01258, allocations: 8.5 kB / 0.6252 GB, free: 13.32 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.01258, allocations: 0 / 0.6252 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Templates: time 0.005601/0.01818, allocations: 2.091 MB / 0.6273 GB, free: 11.25 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.899223156273365] Failed to read output from testmodel.py, exit status != 0: 0.026911966502666473 0.041451518999999944 0.03172604699999994 Calling exit ...