Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001711/0.001711, allocations: 73.09 kB / 20.66 MB, free: 3.848 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.001845/0.001845, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.078/1.078, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7945/0.7945, allocations: 154.9 MB / 415.9 MB, free: 264 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.522 GB, free: 1.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.488e-05, allocations: 2.859 kB / 0.522 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001325/0.00135, allocations: 0.5954 MB / 0.5225 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.00279, allocations: 1.31 MB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.002811, allocations: 0 / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.00283, allocations: 0.625 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.002837, allocations: 0 / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.003187, allocations: 77.44 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.177e-05/0.003228, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.003273, allocations: 4 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.003301, allocations: 3.984 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.003352, allocations: 5.703 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.003363, allocations: 0 / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.003608, allocations: 107.8 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.003617, allocations: 0 / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.003631, allocations: 1.375 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.003764, allocations: 75.78 kB / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003767, allocations: 0 / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003768, allocations: 0 / 0.5241 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003772, allocations: 0.5312 kB / 0.5241 GB, free: 15.31 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002865/0.004058, allocations: 360.9 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.004096, allocations: 8.031 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.00412, allocations: 2.406 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.2e-05/0.004182, allocations: 108.6 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004193, allocations: 384 / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.004199, allocations: 384 / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.718e-05/0.004267, allocations: 31.61 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004273, allocations: 192 / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.00428, allocations: 384 / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.004286, allocations: 3.938 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.217e-05/0.004298, allocations: 11.39 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.427e-05/0.004382, allocations: 97.25 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.004419, allocations: 27.06 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.203e-05/0.004431, allocations: 7.688 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.004644, allocations: 40.06 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.004666, allocations: 33.95 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.004667, allocations: 4 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.004771, allocations: 38.69 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.004801, allocations: 51.41 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.202e-05/0.004843, allocations: 143.2 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004852, allocations: 25.7 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.004885, allocations: 128.3 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.004914, allocations: 0 / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004938, allocations: 19.38 kB / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.005081, allocations: 0.4883 MB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.00509, allocations: 0.875 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.005097, allocations: 4 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.005124, allocations: 8.625 kB / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005126, allocations: 0 / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.653e-05/0.005172, allocations: 43.25 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005184, allocations: 4 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.005188, allocations: 0 / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.005196, allocations: 0 / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.005232, allocations: 10.47 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-06/0.005234, allocations: 0 / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.005243, allocations: 7.875 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005247, allocations: 0 / 0.5257 GB, free: 13.45 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): 1 * 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 5.97e-05/0.005307, allocations: 156.6 kB / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-06/0.005312, allocations: 0 / 0.5259 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.005384, allocations: 47.72 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005386, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005387, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00539, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.811e-05/0.005448, allocations: 101.2 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005449, allocations: 1.188 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.005462, allocations: 3.984 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005464, allocations: 3.984 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.005468, allocations: 4.938 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005468, allocations: 0 / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005469, allocations: 0 / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.005792, allocations: 73.28 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-06/0.005795, allocations: 0 / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-06/0.005803, allocations: 4.641 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-06/0.005807, allocations: 0 / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.005816, allocations: 5.094 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.005819, allocations: 4 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.005847, allocations: 119.2 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005847, allocations: 2.438 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001374/0.005984, allocations: 15.94 kB / 0.5262 GB, free: 12.86 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): 1 * 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.0001298/0.006114, allocations: 111.2 kB / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.006169, allocations: 7.688 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.006172, allocations: 7.094 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.006177, allocations: 7.688 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.749e-05/0.006265, allocations: 3.938 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.00641, allocations: 87.97 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.006434, allocations: 55.3 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.006453, allocations: 5.5 kB / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.006482, allocations: 66.2 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.006483, allocations: 3.938 kB / 0.5266 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.001861/0.008343, allocations: 479 kB / 0.527 GB, free: 12 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8600433985702693]