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.0007526/0.0007526, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008169/0.0008169, allocations: 212.2 kB / 23 MB, free: 2.977 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.9291/0.9291, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.7578/0.7578, 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.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: 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.001014/0.001014, allocations: 62.41 kB / 0.7194 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4878, allocations: 102 MB / 0.8191 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001193/0.489, allocations: 0.5842 MB / 0.8196 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.49, allocations: 1.281 MB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.49, allocations: 0 / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.49, allocations: 0 / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.49, allocations: 4 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.4903, allocations: 71.48 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.131e-05/0.4904, allocations: 2.016 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.4904, allocations: 6.219 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.4904, allocations: 9.391 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.4905, allocations: 7.922 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.4905, allocations: 1.469 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.4907, allocations: 105.1 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-06/0.4907, allocations: 0 / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.4907, allocations: 4.516 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4909, allocations: 60.38 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4909, allocations: 4 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4909, allocations: 0 / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4909, allocations: 0 / 0.8211 GB, free: 15.94 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002337/0.4911, allocations: 251.4 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4912, allocations: 7.406 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.4912, allocations: 2.109 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.988e-05/0.4912, allocations: 104.9 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.4912, allocations: 384 / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.4913, allocations: 4.672 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.047e-05/0.4913, allocations: 39.23 kB / 0.8215 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.4913, allocations: 7.875 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4913, allocations: 0 / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4913, allocations: 0 / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.4914, allocations: 2.172 kB / 0.8215 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.696e-05/0.4915, allocations: 96.47 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.4915, allocations: 18.52 kB / 0.8217 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.4915, allocations: 4.859 kB / 0.8217 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.4918, allocations: 41.89 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4918, allocations: 40.67 kB / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4918, allocations: 1.75 kB / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.4919, allocations: 42.88 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.4919, allocations: 54.5 kB / 0.8218 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.356e-05/0.4919, allocations: 89.86 kB / 0.8219 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.4919, allocations: 25.7 kB / 0.8219 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.492, allocations: 80.14 kB / 0.822 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.492, allocations: 0.5156 kB / 0.822 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.492, allocations: 17.97 kB / 0.822 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.4921, allocations: 315.5 kB / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.4921, allocations: 2.156 kB / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-06/0.4921, allocations: 0 / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.4921, allocations: 13.5 kB / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4921, allocations: 0 / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.116e-05/0.4921, allocations: 32.5 kB / 0.8224 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4921, allocations: 5.406 kB / 0.8224 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4922, allocations: 0 / 0.8224 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4922, allocations: 11.38 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.4922, allocations: 4.547 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4922, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-06/0.4922, allocations: 1.281 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.4922, allocations: 3.656 kB / 0.8224 GB, free: 14.59 MB / 0.6198 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 4.416e-05/0.4923, allocations: 112.5 kB / 0.8225 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-06/0.4923, allocations: 0 / 0.8225 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.4923, allocations: 45.66 kB / 0.8226 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4923, allocations: 6.562 kB / 0.8226 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4923, allocations: 2.062 kB / 0.8226 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4923, allocations: 0 / 0.8226 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.335e-05/0.4924, allocations: 99.2 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.4924, allocations: 0 / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-06/0.4924, allocations: 4.578 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4924, allocations: 2.719 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.4924, allocations: 0 / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4924, allocations: 3.938 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4924, allocations: 1.188 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.571e-05/0.4924, allocations: 65.39 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-06/0.4925, allocations: 4.062 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.4925, allocations: 0.75 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-06/0.4925, allocations: 3.938 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.4925, allocations: 0.75 kB / 0.8227 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4925, allocations: 6.688 kB / 0.8228 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.827e-05/0.4925, allocations: 79.28 kB / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4925, allocations: 0 / 0.8228 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000132/0.4926, allocations: 11.7 kB / 0.8228 GB, free: 14.12 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 (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.0001385/0.4928, allocations: 111.6 kB / 0.8229 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.117e-05/0.4928, allocations: 8.688 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4928, allocations: 0 / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.4928, allocations: 2 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.338e-05/0.4929, allocations: 4.125 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.4931, allocations: 114.6 kB / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.4931, allocations: 57.16 kB / 0.8231 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.4931, allocations: 8.188 kB / 0.8231 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4931, allocations: 0 / 0.8231 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.001366/0.4945, allocations: 0.5115 MB / 0.8236 GB, free: 13.77 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664900436066091] Failed to read output from testmodel.py, exit status != 0: 0.5001337938010693 0.509650438 0.016791457000000003 Calling exit ...