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.001827/0.001827, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001526/0.001526, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8522/0.8522, allocations: 134 MB / 447.2 MB, free: 10.25 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.002005/0.002005, allocations: 67.11 kB / 0.6198 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 85.9 MB / 0.7037 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001816/0.165, allocations: 0.6208 MB / 0.7043 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1669, allocations: 1.358 MB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1669, allocations: 4 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1669, allocations: 0 / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.167, allocations: 3.938 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1674, allocations: 83.73 kB / 0.7057 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.1675, allocations: 23.97 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1675, allocations: 4 kB / 0.7058 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.1675, allocations: 11.92 kB / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.1676, allocations: 11.98 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1676, allocations: 0 / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1679, allocations: 115.8 kB / 0.7059 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.1679, allocations: 7.984 kB / 0.7059 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.168, allocations: 15.92 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1681, allocations: 75.67 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1681, allocations: 0 / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1681, allocations: 0 / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1681, allocations: 0 / 0.706 GB, free: 14.56 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.0004787/0.1686, allocations: 278.2 kB / 0.7062 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1686, allocations: 12.03 kB / 0.7063 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1687, allocations: 4.938 kB / 0.7063 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1688, allocations: 110.5 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1688, allocations: 384 / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1689, allocations: 12.33 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.169, allocations: 53.98 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.169, allocations: 4 kB / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1691, allocations: 0 / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1691, allocations: 0 / 0.7064 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.167e-05/0.1691, allocations: 27.92 kB / 0.7065 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1693, allocations: 136.8 kB / 0.7066 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1695, allocations: 62.55 kB / 0.7066 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.1695, allocations: 16.86 kB / 0.7067 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.1698, allocations: 39.97 kB / 0.7067 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1698, allocations: 42.48 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1698, allocations: 0 / 0.7067 GB, free: 13.65 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.02015/0.19, allocations: 4.111 MB / 0.7108 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.19, allocations: 55.34 kB / 0.7108 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.1901, allocations: 93.86 kB / 0.7109 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.1902, allocations: 33.7 kB / 0.7109 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1902, allocations: 80.14 kB / 0.711 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1904, allocations: 67.45 kB / 0.7111 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.1906, allocations: 85.67 kB / 0.7112 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1908, allocations: 322.8 kB / 0.7115 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.1913, allocations: 307.9 kB / 0.7118 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.1919, allocations: 315.9 kB / 0.7121 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.1934, allocations: 0.7566 MB / 0.7128 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1934, allocations: 0 / 0.7128 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00162/0.195, allocations: 0.7903 MB / 0.7136 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1951, allocations: 8 kB / 0.7136 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1951, allocations: 0 / 0.7136 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1951, allocations: 0 / 0.7136 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.1959, allocations: 91.94 kB / 0.7137 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1959, allocations: 0 / 0.7137 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1964, allocations: 12 kB / 0.7137 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.1965, allocations: 35.98 kB / 0.7137 GB, free: 6.391 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.0002134/0.1967, allocations: 121.7 kB / 0.7138 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.1968, allocations: 15.88 kB / 0.7138 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.2001, allocations: 1.384 MB / 0.7152 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2001, allocations: 4 kB / 0.7152 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2001, allocations: 0 / 0.7152 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2001, allocations: 0 / 0.7152 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.2035, allocations: 1.778 MB / 0.7169 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2035, allocations: 4 kB / 0.7169 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.2043, allocations: 111.9 kB / 0.717 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.2043, allocations: 7.938 kB / 0.7171 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.2044, allocations: 27.94 kB / 0.7171 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.2044, allocations: 11.97 kB / 0.7171 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2044, allocations: 0 / 0.7171 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.2071, allocations: 1.455 MB / 0.7185 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2071, allocations: 15.88 kB / 0.7185 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2072, allocations: 15.94 kB / 0.7185 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.2078, allocations: 8 kB / 0.7185 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2079, allocations: 48.02 kB / 0.7186 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/0.208, allocations: 31.98 kB / 0.7186 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.2081, allocations: 75.28 kB / 0.7187 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 0 / 0.7187 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006469/0.2087, allocations: 183.7 kB / 0.7189 GB, free: 1.012 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.0005979/0.2093, allocations: 218.8 kB / 0.7191 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.2107, allocations: 0.7124 MB / 0.7198 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2107, allocations: 8.094 kB / 0.7198 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.2114, allocations: 395.7 kB / 0.7202 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2117, allocations: 16 kB / 0.7202 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.2152, allocations: 0.833 MB / 0.721 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.2156, allocations: 0.7181 MB / 0.7217 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/0.2161, allocations: 95.41 kB / 0.7218 GB, free: 13.96 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2161, allocations: 0 / 0.7218 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Templates: time 0.01167/0.2278, allocations: 7.048 MB / 0.7287 GB, free: 6.973 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: 8.116058030165732] Failed to read output from testmodel.py, exit status != 0: 0.23572111898101866 0.252196751 0.08081608200000001 Calling exit ...