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.001714/0.001714, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002268/0.002268, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.793 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.9198/0.9198, allocations: 134 MB / 446.4 MB, free: 9.953 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.002108/0.002108, allocations: 73.38 kB / 0.619 GB, free: 6.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2031, allocations: 85.9 MB / 0.7029 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001851/0.2049, allocations: 0.5896 MB / 0.7035 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.207, allocations: 1.268 MB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.2071, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.2071, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-06/0.2071, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.2075, allocations: 70.5 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.2075, allocations: 4 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.2076, allocations: 7.984 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.2076, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.2076, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.794e-06/0.2076, allocations: 0 / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2079, allocations: 103.9 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.2079, allocations: 3.938 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.208, allocations: 11.92 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2081, allocations: 59.67 kB / 0.705 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2081, allocations: 0 / 0.705 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2081, allocations: 4 kB / 0.705 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2081, allocations: 0 / 0.705 GB, free: 14.41 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.0003298/0.2085, allocations: 250.3 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2085, allocations: 12.03 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.2085, allocations: 0.9375 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/0.2086, allocations: 106.5 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2086, allocations: 384 / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.2086, allocations: 384 / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/0.2087, allocations: 38 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2087, allocations: 0 / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2087, allocations: 0 / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2087, allocations: 4 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.2088, allocations: 0 / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.2089, allocations: 101.3 kB / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.209, allocations: 18.58 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.209, allocations: 8.953 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.2093, allocations: 35.97 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2093, allocations: 30.56 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2093, allocations: 4 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001285/0.2094, allocations: 53.45 kB / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2095, allocations: 51.41 kB / 0.7056 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.2095, allocations: 89.86 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2095, allocations: 25.7 kB / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2096, allocations: 80.14 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2096, allocations: 4 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.2096, allocations: 13.72 kB / 0.7059 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2098, allocations: 310.8 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.2098, allocations: 4 kB / 0.7062 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.2098, allocations: 8.125 kB / 0.7062 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.2098, allocations: 4.859 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2098, allocations: 3.984 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.985e-05/0.2099, allocations: 41.64 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2099, allocations: 4 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2099, allocations: 0 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2099, allocations: 3.938 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.2099, allocations: 4 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.2099, allocations: 0 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.21, allocations: 96 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.21, allocations: 7.938 kB / 0.7062 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 0.0001071/0.2101, allocations: 113.8 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.2101, allocations: 3.984 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.2102, allocations: 40.64 kB / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2102, allocations: 0 / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2102, allocations: 0 / 0.7064 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2102, allocations: 4 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.2103, allocations: 101.2 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2103, allocations: 8.031 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.2104, allocations: 0 / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2104, allocations: 4 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2104, allocations: 3.984 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2104, allocations: 3.938 kB / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2104, allocations: 0 / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.2104, allocations: 57.14 kB / 0.7066 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.2105, allocations: 3.984 kB / 0.7066 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.2105, allocations: 0 / 0.7066 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.2105, allocations: 7.875 kB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.2105, allocations: 8.031 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.2105, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.091e-05/0.2106, allocations: 75.28 kB / 0.7066 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2106, allocations: 0 / 0.7066 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001909/0.2108, allocations: 8 kB / 0.7067 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.0001689/0.2109, allocations: 111.1 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.18e-05/0.211, allocations: 4 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.211, allocations: 0 / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.211, allocations: 4 kB / 0.7068 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.0001305/0.2112, allocations: 8.125 kB / 0.7068 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.2113, allocations: 85 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.2114, allocations: 55.22 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.2114, allocations: 4 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.2114, allocations: 7.438 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2114, allocations: 0 / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.002704/0.2141, allocations: 372.8 kB / 0.7073 GB, free: 11.76 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: 5.87923614308238] Failed to read output from testmodel.py, exit status != 0: 0.22152484767138958 0.24018912899999995 0.028452587 Calling exit ...