Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001268/0.001268, allocations: 100.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.001381/0.001381, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8438/0.8438, allocations: 134 MB / 447.2 MB, free: 9.938 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002006/0.002006, allocations: 66.73 kB / 0.6197 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1669, allocations: 85.91 MB / 0.7036 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001731/0.1686, allocations: 0.607 MB / 0.7042 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1704, allocations: 1.292 MB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.1704, allocations: 0 / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1705, allocations: 0 / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.559e-05/0.1705, allocations: 3.938 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1709, allocations: 87.66 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1709, allocations: 23.98 kB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.171, allocations: 0 / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.171, allocations: 19.92 kB / 0.7056 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.1711, allocations: 15.91 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1711, allocations: 0 / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1714, allocations: 103.9 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.1714, allocations: 4 kB / 0.7057 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1714, allocations: 11.92 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1716, allocations: 75.72 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1716, allocations: 0 / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1716, allocations: 4 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1716, allocations: 4 kB / 0.7058 GB, free: 14.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004454/0.172, allocations: 278.2 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.172, allocations: 8.031 kB / 0.7061 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1721, allocations: 4.938 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1722, allocations: 110.5 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1722, allocations: 4.375 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1722, allocations: 12.27 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1724, allocations: 79.69 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1724, allocations: 8 kB / 0.7063 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1724, allocations: 4 kB / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1724, allocations: 0 / 0.7063 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.1725, allocations: 19.98 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1726, allocations: 105.3 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1728, allocations: 62.48 kB / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.1728, allocations: 24.86 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.173, allocations: 31.97 kB / 0.7066 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1731, allocations: 46.55 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1731, allocations: 0 / 0.7066 GB, free: 13.38 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01982/0.1929, allocations: 4.103 MB / 0.7106 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.1929, allocations: 51.41 kB / 0.7107 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.193, allocations: 97.86 kB / 0.7108 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.1931, allocations: 29.83 kB / 0.7108 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.1931, allocations: 84.08 kB / 0.7109 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1932, allocations: 63.47 kB / 0.7109 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.1935, allocations: 89.67 kB / 0.711 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1936, allocations: 322.8 kB / 0.7113 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.1942, allocations: 307.9 kB / 0.7116 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.1947, allocations: 315.7 kB / 0.7119 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.1963, allocations: 0.7528 MB / 0.7126 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1963, allocations: 0 / 0.7126 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001607/0.1979, allocations: 0.7931 MB / 0.7134 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1979, allocations: 4 kB / 0.7134 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1979, allocations: 4 kB / 0.7134 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1979, allocations: 0 / 0.7134 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/0.1988, allocations: 99.88 kB / 0.7135 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1988, allocations: 4 kB / 0.7135 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.1993, allocations: 4 kB / 0.7135 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.1994, allocations: 36.06 kB / 0.7136 GB, free: 6.117 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 (18): * Single equations (assignments): 18 * 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.0001948/0.1996, allocations: 121.8 kB / 0.7137 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.1997, allocations: 7.953 kB / 0.7137 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.2028, allocations: 1.396 MB / 0.7151 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2028, allocations: 4 kB / 0.7151 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2028, allocations: 0 / 0.7151 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2028, allocations: 0 / 0.7151 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.2058, allocations: 1.665 MB / 0.7167 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2058, allocations: 0 / 0.7167 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.2066, allocations: 107.9 kB / 0.7168 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.2066, allocations: 4 kB / 0.7168 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.339e-05/0.2067, allocations: 31.98 kB / 0.7168 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2067, allocations: 4 kB / 0.7168 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2067, allocations: 3.938 kB / 0.7168 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2091, allocations: 1.455 MB / 0.7182 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.2092, allocations: 15.88 kB / 0.7183 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/0.2092, allocations: 8 kB / 0.7183 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.2098, allocations: 16 kB / 0.7183 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.2099, allocations: 39.89 kB / 0.7183 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.21, allocations: 40.05 kB / 0.7184 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.21, allocations: 75.28 kB / 0.7184 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.21, allocations: 7.938 kB / 0.7184 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005756/0.2106, allocations: 175.7 kB / 0.7186 GB, free: 0.8711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005044/0.2111, allocations: 222.8 kB / 0.7188 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2124, allocations: 0.7145 MB / 0.7195 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2124, allocations: 0 / 0.7195 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000658/0.213, allocations: 399.7 kB / 0.7199 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2134, allocations: 24.16 kB / 0.7199 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.2169, allocations: 0.8099 MB / 0.7207 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.217, allocations: 103.3 kB / 0.7208 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.2175, allocations: 91.41 kB / 0.7209 GB, free: 14.46 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.2175, allocations: 0 / 0.7209 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Templates: time 0.01066/0.2282, allocations: 7.08 MB / 0.7278 GB, free: 7.441 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.71532393200323] Failed to read output from testmodel.py, exit status != 0: 0.23565161181613803 0.250633708 0.07613225600000001 Calling exit ...