Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001562/0.001562, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001722/0.001722, allocations: 216.3 kB / 22.99 MB, free: 4.945 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 134 MB / 447.2 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002035/0.002035, allocations: 71.16 kB / 0.6197 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1503, allocations: 85.91 MB / 0.7036 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001726/0.1521, allocations: 0.5838 MB / 0.7042 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1537, allocations: 1.268 MB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.1537, allocations: 0 / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1538, allocations: 4 kB / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.1538, allocations: 0 / 0.7055 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1541, allocations: 67.75 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1542, allocations: 3.984 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1542, allocations: 4 kB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.1542, allocations: 0 / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.1542, allocations: 7.922 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-06/0.1542, allocations: 4 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.1545, allocations: 103.9 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1545, allocations: 4 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.145e-05/0.1545, allocations: 0 / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1547, allocations: 55.88 kB / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1547, allocations: 0 / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1547, allocations: 0 / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1547, allocations: 0 / 0.7057 GB, free: 14.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003234/0.155, allocations: 254.2 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.155, allocations: 12.03 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1551, allocations: 4.938 kB / 0.706 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.1551, allocations: 110.5 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.1552, allocations: 384 / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1552, allocations: 384 / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.191e-05/0.1553, allocations: 42 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1553, allocations: 0 / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.1553, allocations: 0 / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1553, allocations: 0 / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.1553, allocations: 4 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1554, allocations: 93.33 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.063e-05/0.1555, allocations: 22.55 kB / 0.7062 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.1555, allocations: 8.859 kB / 0.7062 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.1558, allocations: 36.03 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1558, allocations: 34.56 kB / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1558, allocations: 0 / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1559, allocations: 45.58 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.156, allocations: 51.41 kB / 0.7064 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.156, allocations: 93.8 kB / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.156, allocations: 29.83 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.1561, allocations: 80.14 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1561, allocations: 0 / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1561, allocations: 17.72 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1562, allocations: 310.8 kB / 0.7069 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.1563, allocations: 4 kB / 0.7069 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.1563, allocations: 4 kB / 0.7069 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1563, allocations: 8.844 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1563, allocations: 4 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.745e-05/0.1564, allocations: 33.77 kB / 0.7069 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1564, allocations: 4 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1564, allocations: 0 / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1564, allocations: 3.938 kB / 0.7069 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.1564, allocations: 11.88 kB / 0.707 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1564, allocations: 3.938 kB / 0.707 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-06/0.1565, allocations: 0 / 0.707 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1565, allocations: 3.984 kB / 0.707 GB, free: 12.95 MB / 0.5294 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 7.611e-05/0.1565, allocations: 117.8 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.1565, allocations: 0 / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.1566, allocations: 44.61 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1566, allocations: 0 / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1566, allocations: 4 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1566, allocations: 0 / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.1567, allocations: 101.3 kB / 0.7072 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1567, allocations: 0 / 0.7072 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.1567, allocations: 4 kB / 0.7072 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1567, allocations: 0 / 0.7072 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1567, allocations: 4 kB / 0.7072 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1568, allocations: 11.91 kB / 0.7072 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1568, allocations: 0 / 0.7072 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.423e-05/0.1568, allocations: 57.12 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.1568, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.1568, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.1568, allocations: 3.938 kB / 0.7073 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1569, allocations: 8 kB / 0.7073 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1569, allocations: 0 / 0.7073 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.1569, allocations: 75.28 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1569, allocations: 0 / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001943/0.1571, allocations: 8 kB / 0.7074 GB, free: 12.45 MB / 0.5294 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.000146/0.1572, allocations: 115.2 kB / 0.7075 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.701e-05/0.1573, allocations: 7.938 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1573, allocations: 0 / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.547e-06/0.1573, allocations: 4 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.1574, allocations: 0 / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.1576, allocations: 114.7 kB / 0.7076 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.1577, allocations: 55.22 kB / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1577, allocations: 11.44 kB / 0.7077 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1577, allocations: 8.062 kB / 0.7077 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.001979/0.1597, allocations: 0.5064 MB / 0.7082 GB, free: 11.57 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.429839789867401] Failed to read output from testmodel.py, exit status != 0: 0.16681574704125524 0.182167929 0.024520131 Calling exit ...