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.001275/0.001275, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001347/0.001347, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.015/1.015, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.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-535:34: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-535:42: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.7896/0.7896, allocations: 154.9 MB / 415.1 MB, free: 268 kB / 378.7 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 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.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.493e-06/1.493e-06, allocations: 0 / 0.5212 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.305e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001499/0.001522, allocations: 0.6172 MB / 0.5218 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.003305, allocations: 1.462 MB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.003336, allocations: 3.938 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.443e-05/0.00339, allocations: 3.938 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.00344, allocations: 0.7812 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.004075, allocations: 225.2 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.004151, allocations: 27.97 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.004182, allocations: 6.125 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.004225, allocations: 19.92 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.004271, allocations: 23.97 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.004282, allocations: 0 / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.00469, allocations: 259.6 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.004724, allocations: 11.92 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.00475, allocations: 13.45 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.005052, allocations: 267.3 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005056, allocations: 4 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005057, allocations: 0 / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005061, allocations: 0.9688 kB / 0.5241 GB, free: 14.53 MB / 0.4948 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.000337/0.005397, allocations: 422 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.005436, allocations: 9 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.00547, allocations: 12.89 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.00555, allocations: 124.5 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.005561, allocations: 5.375 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.005568, allocations: 384 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.005669, allocations: 80.38 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005676, allocations: 192 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.005686, allocations: 9.109 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005693, allocations: 7.875 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.005724, allocations: 42.91 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.005824, allocations: 97.27 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.005881, allocations: 64.75 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.006187, allocations: 49.94 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.006194, allocations: 5.781 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.00622, allocations: 33.39 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.006221, allocations: 0 / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002338/0.006455, allocations: 186.8 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.006495, allocations: 90.81 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.00659, allocations: 174.1 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.006602, allocations: 25.7 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.006652, allocations: 134.9 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.006688, allocations: 23.78 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.006735, allocations: 32.83 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.006872, allocations: 0.4884 MB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.006919, allocations: 41.69 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.006952, allocations: 41.69 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.00704, allocations: 103.8 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.007043, allocations: 4 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001359/0.007179, allocations: 134.5 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.007211, allocations: 37.69 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007216, allocations: 0 / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007229, allocations: 4 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.00723, allocations: 0.75 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007233, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.007301, allocations: 9.156 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.00732, allocations: 7.984 kB / 0.5265 GB, free: 11.79 MB / 0.4948 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 9.501e-05/0.007415, allocations: 193 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.007434, allocations: 11.95 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.007454, allocations: 8.422 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007455, allocations: 4 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007457, allocations: 0 / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007461, allocations: 7.875 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.741e-05/0.007538, allocations: 109.2 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.00754, allocations: 0 / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.007541, allocations: 2.75 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007543, allocations: 3.938 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007551, allocations: 4 kB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007553, allocations: 0 / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007554, allocations: 0 / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.007726, allocations: 191.7 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.007733, allocations: 0 / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.007746, allocations: 8.891 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.007774, allocations: 4 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.007788, allocations: 8 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.007798, allocations: 4.938 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.007839, allocations: 131.2 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007839, allocations: 0.9375 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002896/0.008128, allocations: 75.86 kB / 0.5272 GB, free: 10.96 MB / 0.4948 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.0002687/0.008397, allocations: 171.3 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.008564, allocations: 186.3 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008566, allocations: 1.531 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.008638, allocations: 128.7 kB / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.008775, allocations: 12 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.009006, allocations: 180.5 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.009038, allocations: 55.36 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.4e-06/0.009043, allocations: 0.6562 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.009128, allocations: 90.75 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.009129, allocations: 0 / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.004399/0.01353, allocations: 2.386 MB / 0.5303 GB, free: 7.773 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8213327769190073]